[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2012) User agent aware skinning

Christian Bauer (JIRA) jira-events at lists.jboss.org
Sun Sep 30 11:08:41 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2012?page=all ]

Christian Bauer updated JBSEAM-2012:
------------------------------------

    Description: 
Especially for the Wiki, we should develop a generalized solution for mapping user agents to skinned facelets. I'm thinking we would use the facelets ResourceResolver for this.

<theme:skinSelector>
    <theme:skins>
        <key>Windows CE</key><value>mobile</value>
        <key>SonyEricsson</key><value>mobile</value>
    <theme:skins>
</theme:skinSelector>

Then a view id like home.xhtml would actually resolve to home.xhtml, home_mobile.xhtml, depending upon the user agent.

  was:
Especially for the Wiki, we should develop a generalized solution for mapping user agents to skinned facelets. I'm thinking we would use the facelets ResourceResolver for this.

<theme:skinSelector>
    <theme:skins>
        <key>Windows CE</key><value>winCE</value>
        <key>SonyEricsson</key><value>sonyEricsson</value>
    <theme:skins>
</theme:skinSelector>

Then a view id like home.xhtml would actually resolve to home.xhtml, home_winCE.xhtml or home_sonyEricsson.xhtml, depending upon the user agent.


> User agent aware skinning
> -------------------------
>
>                 Key: JBSEAM-2012
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2012
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF, Wiki
>    Affects Versions: 2.0.1.GA
>            Reporter: Gavin King
>         Assigned To: Pete Muir
>
> Especially for the Wiki, we should develop a generalized solution for mapping user agents to skinned facelets. I'm thinking we would use the facelets ResourceResolver for this.
> <theme:skinSelector>
>     <theme:skins>
>         <key>Windows CE</key><value>mobile</value>
>         <key>SonyEricsson</key><value>mobile</value>
>     <theme:skins>
> </theme:skinSelector>
> Then a view id like home.xhtml would actually resolve to home.xhtml, home_mobile.xhtml, depending upon the user agent.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list