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 16 Current »

Overview

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

It should be defined only in "actions" ui:define tag.

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-trash

Icon of the button.

Use font awesome icon class supported by version 4.7.0.

idtrueStringnullUnique identifier of the component.
managedBeantrueStringnullThe name of the Java managed bean class 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 component.


 

  • No labels