myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavitra Subramaniam (Commented) (JIRA)" <>
Subject [jira] [Commented] (TRINIDAD-2141) add a new 'browser-generic' agent
Date Mon, 03 Oct 2011 19:48:34 GMT


Pavitra Subramaniam commented on TRINIDAD-2141:

My patch from 09-28 forces the agent to be genericDesktop when the outputMode=offline. This
is not a good idea since outputMode alone cannot dictate the agent that gets used - ideally
we would want to determine the agent to be used, through a request param - org.apache.myfaces.trinidad.agent=gecko.
Removed the code in AgentFactoryImpl that creates the 'genericDesktop' agent.
> add a new 'browser-generic' agent 
> ----------------------------------
>                 Key: TRINIDAD-2141
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: 1.2.15-core , 2.0.1-core
>            Reporter: Pavitra Subramaniam
>         Attachments: JIRA2141 - 09282011.patch, JIRA2141 - 10032011.patch, JIRA2141.patch
> It would be very useful to have an agent called - 'browser-generic', which represents
the lowest common denominator agent for all browsers. 
> We also would want this to have its own capabilities that any generic browser agent supports
> This agent would be very useful in usecases where the user agent cannot be determined
at the time of rendering. 
> For example when rendering content for a page to be used as a file attachment in an email,
this could be very useful.
> CSS rules with @agent keyword would be ignored. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message