Versions Compared

Key

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

This component is used to display a combination of two select elements on the page.

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


Attributes

false
NameRequiredTypeDefaultDescriptionadditionalLabelStringnullAdditional Label of the item.
classNamefalseStringnullThe class name of the value of the component.

columnClasses

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

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

columnsfalseInteger12

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

databaseName

idfalseStringnullUnique identifier of the component.
labelKeyfalseStringnullDatabase name that will be used to load the data.displayValue

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

leftClassNamefalseStringnullThe class name of the value of the left select one menu.
leftDisplayValuefalseStringnullThe displayed value of the component left select one menu in view mode.
emptyOptionLabelleftEmptyOptionLabelfalseStringkey_select

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

filter

leftItemLabelfalseStringnameLabel item in overlay for the left select one menu.
leftItemValuefalseBooleanStringtrueRenders an input field as a filter.idnullValue item in overlay for the left select one menu.
leftOnChangeFunctionfalseStringnullUnique identifier of the component.
isRequiredfalseBooleantrue if the data object property of the component is mandatory, otherwise false.Marks component as required.
itemLabel

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

leftOptionsListfalseListnull

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.
leftRefreshfalseStringnameLabel of the item in overlay.itemValuenullComponent(s) to update with ajax for the left select one menu.
leftTypefalseStringnullValue The type of the value of the item in overlay left select one menu.
labelKeyleftValuefalseStringObjectnullA valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name of the component.The value of the left select one menu
managedBeantrueStringnullThe name of the managed bean that will be used for retrieving the component values.
mandatoryfalseBooleanfalseMarks component as required.
modefalseStringThe mode of the managed bean.The mode of the component. Allowed values are VIEW and EDIT.
onChangeFunctionrightClassNamefalseStringnull

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

onCompleteScriptThe class name of the value of the right select one menu.
rightDisplayValuefalseStringnullDefines the function call triggered when on change event is completed.optionsListThe displayed value of the right select one menu in view mode.
rightEmptyOptionLabelfalseListStringnullA 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.

rightItemLabelfalseStringnameLabel of the item in overlay for the right select one menu.parameters
rightItemValuefalseStringnullValue of the item in overlay for the right select one menu.
rightOnChangeFunctionfalseStringnull

Defines additional parameter of the function call .

process

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.
readonlyrightReadonlyfalseBooleanfalseFlag indicating that this component the right select one menu will prevent changes by the user.
refreshrightRefreshfalseString@thisnullComponent(s) to update with ajax for the right select one menu.
showEmptyOptionrightTypefalseBooleanStringtrueFlag indicating that empty item should be shown in the collection of available items.templateTooltipnullThe type of the value of the right select one menu.
rightValuefalseStringObjectnullDescription The value of the item in overlay.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.

typefalseStringnullThe type of the value of the component.
valuefalseObjectnullThe value of the component

.

visiblefalseBooleantrue

Controls the visibility of the component.


Examples

 JSF Page

 

 

 

 

 

 

Managed Bean