For example,
suppose you want a field to display the name of the current business
object with the object's type icon displayed to the left of the name.
In View mode, the name is hyperlinked. When a user clicks the link, the
system passes to the href URL the ID for the business object the page
applies to. The ID is passed using the objectId parameter. The View mode
for such a field is shown below.
When this field is displayed on a form in Edit mode, the data is not hyperlinked
because Edit mode doesn't display hyperlinks. The field would look like
this.
To configure a field so the data is hyperlinked when shown on a form in
View mode, use these parameters and settings
- href parameter--Enter the JSP to call when the user clicks the hyperlinked
data. The JSP can include parameters accepted by the JSP and path information,
including directory macros.
- Target Location setting--Use this setting to specify where the href
JSP should be displayed: popup, content, _top, or any valid frame name.
To configure a field to include the type icon for the current object,
use this setting
- Show Type Icon setting--Set this setting to true.
The following graphics show how the Name field, shown previously, is configured
in Business Modeler. In addition to the parameters and settings that
make the data hyperlinked and that add the type icon, the field has settings
that make the field required when the form is in Edit mode.