Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

typeinfo

...

Overview

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

...

Image Added

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.

id

...

trueStringnullUnique 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.

leftClassName

...

trueStringnullThe class name of the value of the left select one menu.
leftDisplayValue

...

trueStringnullThe 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.

leftItemLabel

...

trueStringnameLabel 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.

leftOptionsList

...

trueListnull

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.
leftType

...

trueStringnullThe type of the value of the left select one menu.
leftValue

...

trueObjectnullThe 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.


rightClassName

...

trueStringnullThe class name of the value of the right select one menu.
rightDisplayValue

...

trueStringnullThe 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.

rightItemLabel

...

trueStringnameLabel

...

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.
rightType

...

trueStringnullThe type of the value of the right select one menu.
rightValue

...

trueObjectnullThe 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.