This component is used to display a delete button on the page.
Info
Tag | <crm:deleteButton> |
XML Namespace | http://java.sun.com/jsf/composite/crm |
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
dataObject | false | Object | The data object of the managed bean. | The data object of the component. |
disabled | false | Boolean | false | Flag indicating that component is disabled or not. |
icon | false | String | fa fa-trash | Icon of the button as a css class. |
id | true | String | null | Unique identifier of the component. |
managedBean | true | String | null | The name of the managed bean that will be used for retrieving the component values. |
pageToRedirect | true | 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 | Controls the visibility of the component. |
Getting Started with DeleteButton