Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The <crm:selectOneMenuNextToSelectOneMenu> component is used to display two select elements on the page.

Image Modified

Attributes

NameRequiredTypeDefaultDescription

columnClasses

falseStringui-grid-col-6,ui-grid-col-6

Comma separated list of column style classes of the gird layout that will be used to display the component.

Note

Column style class should be prefixed with ui-grid-col- and suffixed with the number of columns that content will take (out of 12).

For example, for two columns with the same size the columnClasses should be "ui-grid-col-6,ui-grid-col-6".


columnsfalseInteger2

Number of columns of the gird layout that will be used to display the component.

idtrueStringnullUnique identifier of the component.
labelKeyfalseStringnull

A valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name of the component.

leftClassNametrueStringnullThe class name of the value of the left select one menu.
leftDisplayValuetrueStringnullThe displayed value of the left select one menu in view mode.
leftEmptyOptionLabelfalseStringkey_select

A valid key defined in translation properties file. Its translation through the glossary will be added as empty item in the collection of available items of the left select one menu.

leftItemLabeltrueStringnameLabel item in overlay for the left select one menu.
leftOnChangeFunctionfalseStringnull

Defines the function call triggered when left select one menu loses focus and its value has been modified since gaining focus.

leftOptionsListtrueListnull

A collection of available items in overlay for the left select one menu.

leftprocessfalseString@this and the value of the refresh attributeComponent(s) to process in partial request for the left select one menu.
leftReadonlyfalseBooleanfalseFlag indicating that the left select one menu will prevent changes by the user.
leftRefreshfalseStringnullComponent(s) to update with ajax for the left select one menu.
leftTypetrueStringnullThe type of the value of the left select one menu.
leftValuetrueObjectnullThe value of the left select one menu
managedBeantrueStringnullThe name of the Java managed bean class that will be used for retrieving the component values.
mandatoryfalseBooleanfalseMarks component as required.
modefalseStringThe mode of the managed bean.

The mode of the component. 

Note

Allowed values are VIEW and EDIT.


rightClassNametrueStringnullThe class name of the value of the right select one menu.
rightDisplayValuetrueStringnullThe displayed value of the right select one menu in view mode.
rightEmptyOptionLabelfalseStringkey_select

A valid key defined in translation properties file. Its translation through the glossary will be added as empty item in the collection of available items of the right select one menu.

rightItemLabeltrueStringnameLabel of the item in overlay for the right select one menu.
rightOnChangeFunctionfalseStringnull

Defines the function call triggered when right select one menu loses focus and its value has been modified since gaining focus.

rightOptionsListfalseListnull

A collection of available items in overlay for the right select one menu.

rightprocessfalseString@this and the value of the refresh attributeComponent(s) to process in partial request for the right select one menu.
rightReadonlyfalseBooleanfalseFlag indicating that the right select one menu will prevent changes by the user.
rightRefreshfalseStringnullComponent(s) to update with ajax for the right select one menu.
rightTypetrueStringnullThe type of the value of the right select one menu.
rightValuetrueObjectnullThe value of the right select one menu
tipfalseStringnull

A valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information.

visiblefalseBooleantrue

Controls the visibility of the component.


Getting Started

The following example shows a select one menu next to select one menu component.