Skip to end of banner
Go to start of banner

SelectBooleanCheckbox

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

Version 1 Next »

SelectBooleanCheckbox component is used to display a checkbox on the page that allowed user to select a boolean value.

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


Attributes

NameRequiredTypeDefaultDescription

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.

disabledfalseBooleanfalseFlag indicating that component is disabled or not.
idfalseStringnullUnique 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.

leftSideLabelfalseStringnullA valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name on the left side of the component.
managedBeantrueStringnullThe name of the managed bean that will be used for retrieving the component values.
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.

parametersfalseObject null Defines the parameter of the function call.
processfalseString@this and the value of the refresh attributeComponent(s) to process in partial request.
refreshfalseString@formComponent(s) to update with ajax.
rightSideLabelfalseStringnullA valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name on the right side of the component.
tipfalseStringnull

A valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information.

valuefalseObjectnullThe value of the component.
visiblefalseBooleantrue

Controls the visibility of the component.


Examples

 JSF Page

 

 

 

 

 

 

Managed Bean

 

 

 


  • No labels