Skip to end of banner
Go to start of banner

SelectOneMenuNextToSelectOneMenu

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

NameRequiredTypeDefaultDescription
additionalLabelfalseStringnullAdditional Label of the item.
classNamefalseStringnullThe class name of the value of the component.

columnClasses

falseStringui-grid-col-12

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

columnsfalseInteger1

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

databaseNamefalseStringnullDatabase name that will be used to load the data.
displayValuefalseStringnullThe displayed value of the component in view mode.
emptyOptionLabelfalseStringkey_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.

filterfalseBooleantrueRenders an input field as a filter.
idfalseStringnullUnique identifier of the component.
isRequiredfalseBooleantrue if the data object property of the component is mandatory, otherwise false.Marks component as required.
itemLabelfalseStringnameLabel of the item in overlay.
itemValuefalseStringnullValue of the item in overlay.
labelKeyfalseStringnull

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

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

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

onCompleteScriptfalseStringnullDefines the function call triggered when on change event is completed.
optionsListfalseListnull

A collection of available items in overlay.

parametersfalseStringnull

Defines additional parameter of the function call.

processfalseString@this and the value of the refresh attributeComponent(s) to process in partial request.
readonlyfalseBooleanfalseFlag indicating that this component will prevent changes by the user.
refreshfalseString@thisComponent(s) to update with ajax.
showEmptyOptionfalseBooleantrueFlag indicating that empty item should be shown in the collection of available items.
templateTooltipfalseStringnullDescription of the item in overlay.
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

 

 

 


  • No labels