crm:button
Overview
The <crm:button> tag is used to display a button on the page.
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
disabled | false | Boolean | false | Flag indicating that component is disabled or not. |
icon | false | String | false | Icon of the button. Use font awesome icon class supported by version 4.7.0. |
id | true | String | null | Unique identifier of the component. |
labelKey | true | String | null | A valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name of the component. |
managedBean | true | String | null | The name of the Java managed bean class that will be used for retrieving the component values. |
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. |
onClickFunction | true | String | null | Defines the function call triggered when button is clicked. |
parameters | false | String | null | Defines the parameter of the function call. |
process | false | String | The value of the refresh attribute | Component(s) to process in partial request. |
refresh | false | String | @form | Component(s) to update with ajax. |
styleClass | false | String | null | Style class of the component. |
visible | false | Boolean | true | Controls the visibility of the component. |
Getting Started
The following example shows a button component.