Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Ui text box
typeinfo

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

It is accessed through the <crm:cancelButton> tag

...

and is defined in

...

the xmlns

...

namespace with the

...

declaration xmlns:em="http://java.sun.com/jsf/composite/crm".

...


Attributes

NameRequiredTypeDefaultDescription
disabledfalseBooleanfalseFlag indicating that component is disabled or not.
iconfalseStringfa fa-times-circleIcon of the button as a css class.
managedBeanfalseStringnullThe 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.
pageToRedirectfalseStringnullThe 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.


Examples

 JSF Page

 

 

 

 

 

 

Managed BeanThe following example illustrates how ...