Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This component is used to display a delete button on the page.

Image Added

Info

Tag<crm:deleteButton>
XML Namespacehttp://java.sun.com/jsf/composite/crm


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.
managedBeanfalsetrueStringnullThe name of the managed bean that will be used for retrieving the component values.
pageToRedirectfalsetrueStringnullThe page to redirect when button is clicked.
styleClassfalseStringbtn btn-primaryStyle class of the component.
visiblefalseBooleantrueControls the visibility of the component.

Getting Started with DeleteButton