[
https://issues.apache.org/jira/browse/EXTCDI-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved EXTCDI-241.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.2
resolved by introducing
public boolean ClientConfig#isClientSideWindowHandlerRequest(FacesContext
facesContext)
by default UserAgents containing the following strings will create direct
requests (by returning false):
* "bot"
* "Bot"
* "Slurp"
* "Crawler"
User can @Specializes this class to provide other/enhanced rules.
> Allow users of the ClientSideWindowHandler to specify if it should get
> applied per Request
> ------------------------------------------------------------------------------------------
>
> Key: EXTCDI-241
> URL: https://issues.apache.org/jira/browse/EXTCDI-241
> Project: MyFaces CODI
> Issue Type: New Feature
> Components: JEE-JSF12-Module, JEE-JSF20-Module
> Affects Versions: 1.0.1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.0.2
>
>
> The ClientSideWindowHandler currently 'intercepts' page requests and renders
> an intermediate html output in any case.
> We should extend the ClientConfig to determine if the current request should
> get handled via the ClientSideWindowHandler.
> That way it would be possible for a project to enable the windowId mechanism
> only for certain userAgents or disable it for download pages like e.g. an
> iCal download.
> One of the scenarios would e.g. be to disable this handling for various
> crawling bots (They currently only get the intermediate page which always
> contains the same content).
--
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