modeConditional

Description: A conditional rendering component for diferent interfaces depending of the current Web UI rendering mode.

JavaDoc: Click here

Remarks: All inner content will be ignored, except for inner mode or modeOthers components

Body content: JSP content.

Attributes: N/A

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