Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Ui text box
typeinfo

This composite component is used to display an input element next to a select element on the page.

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

...

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.

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.

displayValuefalseStringnullThe 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.
idfalseStringnullUnique 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.
itemLabelfalseStringnameLabel item in overlay for the select component.
itemValuefalseStringnullValue item in overlay for the elect 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 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.
onChangeFunctionfalseStringnullDefines the function call triggered when select component loses focus and its value has been modified since gaining focus.
optionsListfalseListnullA 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.
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.

textFieldValuefalseStringnullThe 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.
valuefalseStringnullThe value of the select component.
visible

falseBooleantrueControls the visibility of the component.


Examples

 

The following example illustrates how ...