View Bar Tag

The viewbar tag implements a drop-down list or a detail view list. It uses the following format:

<div od-type=viewbar type="value" mode="context" property="value">

where:

  • type. You can use one of the following values:

    • Select. If the user chooses this control, then display the view that this control references.

    • A value other than Select. Display the view bar as an HTML select control that includes the set of context or noncontext views, depending on the value of the mode attribute.

  • mode. You can use one of the following values:

    • Context. Display only context views.

    • NonContext. Display only noncontext views.

    If you do not specify the mode attribute, then SWE displays all views.

  • property. You can use this attribute only if you set the type attribute to Select. If:

    • You set this attribute to FormattedHtml, then SWE displays the HTML select control.

    • You do not specify this attribute, and if no views exist that SWE can display, then SWE displays the contents of this viewbar tag.