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 swe:form tag. For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data.

  <swe:control id="1100">

<div class=CmdTxt>

<swe:this property="FormattedHtml" hintText="Outside Applet Help Text"/>

</div>

  </swe:control>

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

<swe:form>

<tr>

<td colspan="2">

<swe:include file="CCTitle.swt"/>

</td>

</tr>

<tr>

<td>

<swe:error>

<swe:this property="FormattedHtml"/>

</swe:error>

</td>

</tr>

<swe:for-each startValue="1301" count="10" iteratorName="currentId">

<swe:control id="swe:currentId" hintMapType="FormItem">

<tr valign="top">

<td class="scLabelRight">&nbsp;

<swe:this property="RequiredIndicator"
hintText="Required"/>

<swe:this property="DisplayName" hintText="Label"/>

</td>

<td class="scField">

<swe:this property="FormattedHtml" hintText="Field"/>&nbsp;

</td>

</tr>

</swe:control>

  </swe:for-each>

  </swe:form>

  </table>

Tags Included in a Nongrid Form Applet Template

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

SWE Tag That Accepts User Input

The swe: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.
SWE Tag That Specifies Placeholders for Controls

The swe:control tag specifies placeholders for controls. This tag includes the following attributes:

  • Id. References the control for the placeholder.
  • Property. Specifies the property 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.
SWE 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 © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.