[
https://issues.apache.org/jira/browse/TRINIDAD-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119543#comment-13119543
]
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: https://issues.apache.org/jira/browse/TRINIDAD-2141
> 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 today.
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira