Siebel Developer's Reference > Siebel Web Engine Tags >

swe:layout


To enable user layout control, Siebel ERM includes a swe:layout tag and supporting view and applet control attributes and objects in Siebel Tools.

Siebel Web Template Files (SWT) are located in the WEBTEMPL directory of your Siebel Server installation directory.

Purpose

To reorder and hide applets. The swe:layout tag is used to conditionally determine the HTML content that is displayed, based on the current view layout mode and layout preferences.

Usage

<swe:layout viewDisplayMode="xxx" appletDisplayMode="xxx" appletDisplaySize="xxx" />

Attributes

viewDisplayMode. (Optional) This attribute can have the value Layout or Show. If viewDisplayMode is Layout, the tag is shown only if the user is in Edit View Layout mode. If viewDisplayMode is Show, the tag is shown only if the user is not in Edit View Layout mode. If viewDisplayMode is not specified, the tag is shown whether the user is in Edit View Layout mode or not.

appletDisplayMode. (Optional) This attribute can have the value Show or Hide. If appletDisplayMode is Show, the tag is shown only if the applet is visible. If appletDisplayMode is Hide, the tag is shown only if the applet is hidden. If appletDisplayMode is not specified, the tag is shown regardless of applet visibility.

appletDisplaySize. (Optional) This attribute can have the value Min or Max. If appletDisplaySize is Min, the tag is shown only if the applet is minimized. If appletDisplaySize is Max, the tag is shown only if the applet is maximized. If appletDisplaySize is not specified, the tag is shown regardless of applet display size.

Restrictions

When using the swe:layout tag, you must specify at least one of the attributes.

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