Namespace: periodChooser

bcdui.widget. periodChooser

A namespace for the BCD-UI periodChooser widget. For creation @see bcdui.widget.createPeriodChooser

Methods

staticbcdui.widget.periodChooser.getNavPath(id, callback){string}

widget/periodChooser/periodChooserPackage.js, line 2180
Name Type Description
id string targetHtml of widget
callback function to be called with generated caption
Returns:
Type Description
string NavPath information via callback for widget

staticbcdui.widget.periodChooser.periodToRangeTransformator(parameters)

widget/periodChooser/periodChooserPackage.js, line 1656
A transformer, taking the input, leaving everything 1:1 except a period filter, which is transformed to a range with the given date or range end as the end and keeping the input period type
Name Type Description
parameters
Name Type Description
rangeSize integer Size of the range.
targetModelXPath String The xPath pointing to the period filter within the transformed document.

staticbcdui.widget.periodChooser.rebuildDateFromDateToFromFilter(targetModelDoc)

widget/periodChooser/periodChooserPackage.js, line 2215
adds/overwrites dateFrom/dateTo attributes on periodChoosers filter nodes (outer And) based on the currently available filters
Name Type Description
targetModelDoc DomDocument containing the filter nodes which needs to get worked on

staticbcdui.widget.periodChooser.switchPostfix(id, period_type)

widget/periodChooser/periodChooserPackage.js, line 126
Switch periodchooser to a different period_type by replacing the bRef attributes and the bcdPostfix attribute
Name Type Description
id String id of the period chooser widget
period_type String new period_type