...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Overview
The <crm:deleteButton> tag is used to display a delete button on the page.
...
...
Note |
---|
It should be defined only in "actions" ui:define tag. |
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 |
...
id | true | String | null | Unique identifier of the component. |
managedBean |
...
true | String | null | The name of the Java managed bean |
...
class 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
...
...
The following example shows a delete button component.