crm:saveAndNewButton

Overview

The <crm:saveAndNewButton> tag is used to display a save button on the page. Upon successfully saving the object a new data object will be created and the page will be displayed in VIEW mode.

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

Attributes

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

processfalseStringThe value of the refresh attributeComponent(s) to process in partial request.
refreshfalseString@formComponent(s) to update with ajax.
visiblefalseBooleantrue if the mode is equals with EDIT, otherwise falseControls the visibility of the component.


Getting Started

The following example shows a save and new button component.