crm:selectOneMenuNextToTextField

Overview

The <crm:selectOneMenuNextToTextField> tag is used to display an input element next to a select element on the page.

Attributes

NameRequiredTypeDefaultDescription
classNamefalseStringnullThe class name of the value of the select component.

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.

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.

decimalPlacesfalseInteger

The number of decimal digits that is defined in CRM.COM Formatting Settings.

Number of decimal places.

Applicable only for numbers.

displayValuetrueStringnullThe displayed value of the left select one menu in view mode.
emptyOptionLabelfalseStringkey_selectA 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 select component
filterfalseBooleantrueRenders an input field as a filter in select component.
idtrueStringnullUnique identifier of the component.
inputStylefalseStringtext-align: left

Inline style of the input element.

Applicable only for numbers.

isInputNumberfalseBooleanfalseFlag indicating that input component is a number or not.
isTextFieldFirstfalseBooleantrueFlag indicating that input component is displayed first or not.
itemLabeltrueStringnameLabel item in overlay for the select 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.

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. 

Allowed values are VIEW and EDIT.

onChangeFunctionfalseStringnullDefines the function call triggered when select component loses focus and its value has been modified since gaining focus.
optionsListtrueListnullA collection of available items in overlay for the select component.
processfalseString@this and the value of the refresh attributeComponent(s) to process in partial request for the select component
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 for the select component.
styleClassfalseStringnullStyle class of the component.
symbolfalseStringThe prefix of the default currency that is defined in CRM.COM General Settings.

Desired symbol or unit.

Applicable only for numbers.

symbolPositionfalseStringp

Position of the symbol. Allowed values are p(prefix) and s(suffix).

Applicable only for numbers.

symbolfalseStringThe prefix of the default currency that is defined in CRM.COM General Settings.

Desired symbol or unit.

Applicable only for numbers.

textFieldValuetrue if textFieldVisible=trueStringnullThe value of the input component.
textFieldVisiblefalseBooleantrueControls the visibility of the input component.
tipfalseStringnullA 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 select component.
valuetrueStringnullThe value of the select component.
visible

falseBooleantrueControls the visibility of the component.


Getting Started

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