Configuring Siebel eBusiness Applications > Overview of Web Templates and Siebel Tags > About Siebel Tags >

About the "This" Tag


Sometimes you will want to use a multi-part tag, but make reference to the SWE-generated control at some point other than the beginning and end of the tag. To do this, you can use a "this" tag:

<swe:control id="1">

...HTML here...

<swe:this property="formattedHTML"/>

</swe:control>

The <swe:this> tag is an alias for the nearest enclosing Siebel context. Often, this context is established by an enclosing <swe:xxx> element. For example, <swe:this> commonly appears inside a multi-part <swe:control> element. In that case, <swe:this> is an alias for the control. It is used to display properties of the control. In some cases, the context is less direct. For example, if an <swe:this> element appears in an applet template file, outside of any <swe:control> tag, it is an alias for the applet, and can be used to display properties of the applet.

Configuring Siebel eBusiness Applications