Skip to end of banner
Go to start of banner

crm:deleteButton

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

« Previous Version 10 Next »

Overview

The <crm:deleteButton> tag is used to display a delete button on the page.

Attributes

NameRequiredTypeDefaultDescription
dataObjectfalseObjectThe data object of the managed bean.The data object of the component.
disabledfalseBooleanfalseFlag indicating that component is disabled or not.
iconfalseStringfa fa-trashIcon of the button as a css class.
idtrueStringnullUnique identifier of the component.
managedBeantrueStringnullThe name of the managed bean that will be used for retrieving the component values.
pageToRedirecttrueStringnullThe page to redirect when button is clicked.
styleClassfalseStringbtn btn-primaryStyle class of the component.
visiblefalseBooleantrueControls the visibility of the component.

Getting Started

The following example shows a delete button.


 

  • No labels