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.

The component itself is accessed through the <crm:selectOneMenuNextToSelectOneMenu> tag and is defined in the xmlns namespace with the declaration xmlns:em="http://java.sun.com/jsf/composite/crm"

is used to choose a single item from a list.

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


columnsfalseInteger

...

2

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.

...

leftItemLabel

...

true

...

String

...

nameLabel 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.
leftRefreshfalseStringnull

...

Component(s) to update with ajax for the left select one menu.
leftTypetrueStringnull

...

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

...


rightClassName

...

trueStringnull

...

Defines the function call triggered when input element loses focus and its value has been modified since gaining focus.

...

The class name of the value of the right select one menu.
rightDisplayValuetrueStringnull

...

The displayed value of the right select one menu in view mode.
rightEmptyOptionLabelfalse

...

String

...

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

...

rightRefreshfalseString

...

nullComponent(s) to update with ajax for the right select one menu.

...

rightType

...

true

...

String

...

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

...

...

 JSF Page

 

 

 

 

 

 

Managed Bean

 

 

...

visiblefalseBooleantrue

Controls the visibility of the component.

...


Getting Started

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