mode

Description: Defines content for a specific Web UI rendering mode.

JavaDoc: Click here

Remarks: Can only be used within a modeConditional component

Body content: JSP content.

Attributes:

Name Description Data type Required Default value
webUIMode the name of the web UI mode. See UILevel for all existing modes. String True -

UI Modes: Available Web UI Modes:

  • RICH_CLIENT: Rich mode with extensive use of dynamic HTML.
  • STATIC_HTML: Static HTML, without the use of JavaScript.
  • ACCESSIBILITY: Accessibility mode implements all accessibility best practices.

Examples:

<dif:document>
        <dif:modeConditional>
        <dif:mode webUIMode="<%= UILevel.RICH_CLIENT %>">
            RichMode HTML
        </dif:mode>

        <dif:modeOthers>
            Alternative HTML
        </dif:modeOthers>
    </dif:modeConditional>
    ...
</dif:document>

See also:

Back to tag reference