...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Ui text box | ||
---|---|---|
| ||
This composite component is used to display a cancel button on the page. It is accessed through the <crm:cancelButton> tag |
...
and is defined in |
...
the xmlns |
...
namespace with the |
...
declaration xmlns:em="http://java.sun.com/jsf/composite/crm". |
...
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
disabled | false | Boolean | false | Flag indicating that component is disabled or not. |
icon | false | String | fa fa-times-circle | Icon of the button as a css class. |
managedBean | false | String | null | The name of the managed bean 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. |
pageToRedirect | false | String | null | The page to redirect when button is clicked. |
styleClass | false | String | btn btn-primary | Style class of the component. |
visible | false | Boolean | true if the mode is equals with EDIT, otherwise false | Controls the visibility of the component. |
Examples
JSF Page
|
Managed BeanThe following example illustrates how ...