Siebel Developer's Reference > Siebel Web Engine Tags > Referential Tags >

Map Siebel Object to SWE Tag


The idgroup tag maps a Siebel object to SWE. It uses the following format:

<swe:idgroup name="namespace_ID">

where:

  • name. Identifies the namespace ID. You must identify the namespace to support mapping.

SWE can apply the namespace to other mappings, such as an applet or page item.

Example of Mapping Siebel Objects to SWE

For example, assume Siebel CRM must display an applet that includes a DHTML menu in Internet Explorer 5.0, and that it must use regular controls instead of the menu that other browsers use. All other controls that the applet contains are the same for all browsers. To use mappings that are specific to the browser, you can include each mapping in an idgroup tag. For example:

<swe:switch>

<swe:case condition="Web Engine User Agent, IsMemberVirtualUA, 'VirtualAgent:IE5'">


<swe:idgroup name="IE5">
<swe:menu>
...
</swe:menu>
</swe:idgroup>
</swe:case>
<swe:default>
<swe:idgroup name="NonIE5">
<swe:control id="1" ..>
<swe:control id="2" ..>
</swe:idgroup>
</swe:default>
</swe:switch>
<swe:control id="3" ..>
<swe:control id="4" ..>

In this situation, the NonIE5 namespace identifies the 1 and 2 IDs when SWE maps applet controls to the control tags. The Namespace property of the applet web template item stores the namespace value. The Web Layout Editor in Siebel Tools automatically populates this attribute. The mappings to the control tags that include IDs 3 and 4 reside outside of the namespace. This attribute is empty for these mappings. For more information, see Control Tag.

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