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
Name | Required | Type | Default | Description |
---|---|---|---|---|
id | true | String | null | Unique identifier of the component. |
managedBean | true | String | null | The name of the Java managed bean class that will be used for retrieving the component values. |
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. |
process | false | String | The value of the refresh attribute | Component(s) to process in partial request. |
refresh | false | String | @form | Component(s) to update with ajax. |
visible | false | Boolean | true if the mode is equals with EDIT, otherwise false | Controls the visibility of the component. |
Getting Started
The following example shows a save and new button component.