Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Applet Web Templates >

About Nongrid Form Applet Templates


Predefined applet web templates that do not use a grid use placeholder tags to define the layout of the applet. You can use the Web Layout Editor in Siebel Tools to map controls to any available placeholder. You cannot use the Web Layout Editor to modify the layout of the placeholders themselves. To modify the layout of the placeholders that Siebel CRM displays in these templates, you must modify the applet web template file.

Siebel CRM can display a form applet in any of the following modes:

  • Base
  • Edit
  • New
  • Query

Example Code of a Nongrid Form Applet Template

The following example code of a nongrid form applet template can run in Edit, New, and Query mode. An applet that runs in Base mode is similar except it does not contain the <div od-type="form"> tag. For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data.

  <div od-type="control" id="1100">

<div class=CmdTxt>

<div od-property="FormattedHtml" hintText="Outside Applet Help Text"/>

</div>

  <!--od section control close->

  </div>

  <table class="AppletStyle1" width="100%" align="center">

<div od-type="form">

<tr>

<td colspan="2">

<div od-include ="CCTitle"/>

</td>

</tr>

<tr>

<td>

<div od-type="error">

<div od-property="FormattedHtml"/>

<!--od section error close->

</div>

</td>

</tr>

<div od-prefix od-id="[1301:10]" od-iterator="currentId">

<div od-type="control" od-id="od-attr-currentId" hintMapType="FormItem">

<tr valign="top">

<td class="scLabelRight">&nbsp;

<div od-property="RequiredIndicator"
hintText="Required"/>

<div od-property="DisplayName" hintText="Label"/>

</td>

<td class="scField">

<div od-property="FormattedHtml" hintText="Field"/>&nbsp;

</td>

</tr>

<!--od section control close->

</div>

  <!--od section iterator close->

  </div>

  <!--od section form close->

  </div>

  </table>

Tags Included in a Nongrid Form Applet Template

This topic describes the some of the tags that a nongrid form applet template includes.

OD Tag That Accepts User Input

The <div od-type="form"> tag encloses a section of a page that accepts user input. It is similar to an HTML form tag. This tag includes the following attributes:

  • htmlAttr. Must include valid attributes of the HTML form tag other than method, name, or action. Siebel CRM uses these attributes in the same way it uses the HTML form tag that it creates.
  • name. Creates an HTML form with the defined name. If the name attribute is not defined, then Siebel CRM uses an internally created name.
OD Tag That Specifies Placeholders for Controls

The <div od-type="control"> tag specifies placeholders for controls. This tag includes the following attributes:

  • od-id. References the control for the placeholder.
  • od-property. References the value of the control to display. This attribute includes the following values that are relevant for a form applet:
    • FormattedHTML. Configures Siebel CRM to display the data value of the control.
    • DisplayName. Corresponds to the Caption property.
    • RequiredIndicator. Configures Siebel CRM to display HTML if the underlying business component field is required.
OD Tag That Handles Errors

For more information, see Configuring How Siebel CRM Displays an Error That Occurs on the Siebel Server.

Configuring Siebel Business Applications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.