View Source

h2. smallView

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

h3. Usage

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

{code:xml}<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>
{code}

h3. Tag Handler Documentation
[smallView|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/smallView.html]
[largeView|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/largeView.html]