Small View

smallView

The smallView component is used to specify markup that should be displayed in smaller views, such as phones.

Usage

<mobi:smallView> will include and render the child components when the client is a handheld.

<h:body>
    <mobi:largeView>
        <ui:param name="viewSize" value="large" />
        <ui:include src="WEB-INF/includes/view/large.xhtml"/>
    </mobi:largeView>
    <mobi:smallView>
        <ui:param name="viewSize" value="small" />
        <ui:include src="WEB-INF/includes/view/small.xhtml" />
    </mobi:smallView>
</h:body>

Tag Handler Documentation

smallView
largeView