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

View Link Tag


The viewlink tag displays a link that the user can click to display a view. It uses the following format:

<swe:viewlink state="value" property="value" htmlAttr="value"/>

where:

  • state. Optional. You can use one of the following values:
    • Active. Use this tag only if the current view name identifies the currently active view.
    • Inactive. Use this tag only if the current view name does not identify the currently active view.

      If you do not include the state attribute, then SWE displays this tag in all views.

  • property. Optional. You can only use FormattedHtml as the value for this attribute. It creates the HTML that defines the link. If you do not include this attribute, then SWE creates no output.
  • htmlAttr. Optional. Add more HTML attributes to the HTML tag.

To display HTML for an active view that is different than the HTML for an inactive view, you can use the viewlink tag without specifying the property attribute but with a value for the state attribute. If you do not include the property attribute, then you can use the this tag to display the property in the body of the viewlink tag. For more information, see This Tag.

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