Versions Compared

Key

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

Overview

A data entry is an XHTML page a screen that is used to display an entity. Through this page, the user can create, view, modify, delete or apply other operations on an entity.

Image Modified

Note

The template that is used in data entry page is the crm custom template is data_entry_template.xhtml. 


Note

A data entry page should define the following metadata in "content" ui:define tag, where managedBean is the managed bean name of the page.

Also additional parameters that are mapped with managed bean class properties can be defined.

Code Block
languagexml
<f:metadata>
	<f:viewParam name="id" value="#{managedBean.id}"/>
	<f:viewParam name="action" value="#{managedBean.action}"/>
	<f:viewAction action="#{managedBean.onload}" />
	<f:event type="postAddToView" listener="#{managedBean.setCRMSessionHandle()}"/> 
</f:metadata>



Getting Started

The following example illustrates a data entry page of a Country. It is used by Summary Page Example and Summary with Lazy Data Model Example.