Device Resource

deviceResource

This component renders the necessary head resources for a device, including the device-specific meta tags, the CSS stylesheets for the device theme, and required javascript.

Usage

<h:head>
    <title>My Mobile App</title>
    <mobi:deviceResource theme="#{themeBean.currentTheme}"/>
</h:head>

Themes

Component Documentation

deviceResource