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 Added

Getting Started
Note

The template that is used in

summary page is the crm custom template 

data entry page 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
<ui:composition template="/data_entry_template.xhtml"></ui:composition>
Simple Example
<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.

A back button component is added in "back-button" ui:define placeholder that may be selected in order to return to the crm template pages landing page.

A new button component is added in"actions" ui:define placeholder that may be selected in order to create a new currency.

The content of the page is added in "content" ui:define placeholder and consists of:

  • A summary single filter search button used to display a single filter criterion and a search button.
  • A summary result area used to display the currencies based on the selected criteria

    It is used by Summary Page Example and Summary with Lazy Data Model Example.