Siebel Developer's Reference > Siebel Web Engine Tags >

swe:control


This tag provides a placeholder in an applet Web template for a Control object or a List Column object.

Usage

<swe:control id="1" property="xxx" />

Attributes

Id. Maps an applet child object, Control, or List Column to this placeholder tag.

Property. This attribute is optional. If present, this attribute indicates the property of the control or list item renders on the Web page. If property is not specified, this indicates that the tag shows the body only if the control ID is mapped. Use this attribute only in singleton tags.

Table 24 provides the values you can use for the property attribute.

Table 24. Optional Property Attribute Values for the swe:control Tag
Value
Description

FormattedHtml

Displays the data for a control or list item in HTML.

DisplayName

Shows the caption property of the control or list item.

ListHeader

Shows a column header for list columns that includes links for sorting the column. Use this property value only with swe:control tags that are mapped to list columns in a Base template for List Applets.

RequiredIndicator

Shows an icon if the control is Required. (For example, the user needs to enter a value for the control before the record can be committed to the database.) The icon to be used is defined in the configuration file for the application under the SWE section, using the parameter RequiredIndicator.

NOTE:  When the property attribute is not specified, the property can be displayed within the body of the swe:control tag using the swe:this tag.

Restrictions

Can be used in Applet Web Templates of type Base, Edit, New, or Query.

The swe:control tag cannot be nested; for example, the following usage is not supported:

<swe:control id = "1"> <!-- the "parent" control

<swe:this property = "displayname"/>

<swe:this property = "formattedHtml"/>

<swe:control id = "2" property="formattedHtml">

<!-- A child control gets context or inherits properties from its "parent">

</swe:control>         <!-- End of parent -->

Siebel Developer's Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.