Skip to end of banner
Go to start of banner

crm:cancelButton

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 21 Next »

Overview

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

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

Attributes

NameRequiredTypeDefaultDescription
disabledfalseBooleanfalseFlag indicating that component is disabled or not.
iconfalseStringfa fa-times-circleIcon 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.
modefalseStringThe mode of the managed bean.The mode of the component. Allowed values are VIEW and EDIT.
pageToRedirecttrueStringnullThe page to redirect when button is clicked.
styleClassfalseStringbtn btn-primaryStyle class of the component.
visiblefalseBooleantrue if the mode is equals with EDIT, otherwise falseControls the visibility of the component.


Getting Started

The following example shows a cancel button component.


 

  • No labels