Supported Bean: FormulaBarBean

The FormulaBarBean is representing the formular bar for a report page. It's a subcomponent of ReportFrameBean. It can change alias for attributes or metrics, change formula for metrics, add derived metrics.

Event handler: com.microstrategy.web.app.beans.EnumSysBeanTypes.AppBeanFormulaBar (12)

Application bean type for the Formular Bar bean

Events

apply, cancel, closeEditor, formulaBarProcess, ok, openEditor, setTopLeft

apply
Event to execute the main action of the ReportEditor

17003

EnumFrameEditorEvents.WebEventApply

cancel
Equivalent to close.

17005

EnumFrameEditorEvents.WebEventCancel

closeEditor
Event to close the ReportEditor

17002

EnumFrameEditorEvents.WebEventClose

formulaBarProcess
Event for the formular editor form.
It includes changing alias for a template unit and changing formula for a metric-type unit on the template.

12001

EnumFormulaBarEvents.WebEventFormulaBarProcess

fbActiveViewKey

event argument: Needed for getting active ViewBean from a RWBean instance.

12004

EnumFormulaBarEvents.WebEventArgumentActiveViewKey

fbApplyAggFromBase

event argument: the HTML checkbox name for the template unit's aggregate from base - if it is a derived metric.
The checkbox is preloaded with the current derived metric, and user check or uncheck.

12009

EnumFormulaBarEvents.WebEventArgumentApplyAggFromBase

fbFormula

event argument: the HTML textbox name for the template unit's formula - if it is a metric.
The text box is preloaded with the current formula, and user can type new formula.
If the unit is not of metric type, the text box is uneditable.

12007

EnumFormulaBarEvents.WebEventArgumentFormula

fbGo

event argument: the HTML image name for the "go" image in pure HTML mode.
When you change element in the dropdown list and click "go", the alias and formula boxes will be updated.
In DHTML mode, we don't need this go button, because we use javascript to sync up with the alias and formula boxes.

12003

EnumFormulaBarEvents.WebEventArgumentGo

fbHasDynamicAlias

event argument: the HTML checkbox name for the template unit's dynamic alias.
The text box is preloaded with the current alias, and user can type new alias.

12008

EnumFormulaBarEvents.WebEventArgumentHasDynamicAlias

fbName

event argument: the HTML textbox name for the template unit's alias.
The text box is preloaded with the current alias, and user can type new alias.

12006

EnumFormulaBarEvents.WebEventArgumentAlias

fbPassThrough

12010

EnumFormulaBarEvents.WebEventArgumentIsPassThrough

fbTemplateElement

event argument: the HTML dropdown box name for the template unit list.

12002

EnumFormulaBarEvents.WebEventArgumentTemplateUnitList

FormulabarForm

event argument: the HTML form name for the formula editor.

12001

EnumFormulaBarEvents.WebEventArgumentFormName

ok
Event corresponding to apply and close.

17004

EnumFrameEditorEvents.WebEventOk

openEditor
Event to open the ReportEditor

17001

EnumFrameEditorEvents.WebEventOpen

setTopLeft
Event for setting the top left position of the component

73001

EnumAppComponentEvents.WebEventSetTopLeftPosition

*left

Event argument to define the left (x) position of the component

73002

EnumAppComponentEvents.WebEventArgumentLeftPosition

*top

Event argument to define the top (y) position of the component

73001

EnumAppComponentEvents.WebEventArgumentTopPosition


Notes

* denotes required field.