You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org> on 2006/09/12 02:22:23 UTC
[jira] Reopened: (ADFFACES-110) Add Agent for BlackBerry Browser
4.0
[ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]
Joseph Rozier reopened ADFFACES-110:
------------------------------------
There was a problem with the change to _agentInit in Core.js in the original patch.
Because the navigator.userAgent is prepended with "Mozilla/4.0" on the BlackBerry Browser, it was getting caught by this block else if:
else if ((agentString.indexOf('mozilla') != -1) &&
(agentString.indexOf('spoofer') == -1) &&
(agentString.indexOf('compatible') == -1))
Which was before the BlackBerry else if.
> Add Agent for BlackBerry Browser 4.0
> ------------------------------------
>
> Key: ADFFACES-110
> URL: http://issues.apache.org/jira/browse/ADFFACES-110
> Project: MyFaces ADF-Faces
> Issue Type: New Feature
> Environment: all
> Reporter: Joseph Rozier
> Priority: Minor
> Attachments: adffaces110.patch
>
>
> Support for the BlackBerry Browser 4.0 on BlackBerry device is desirable.
> In order to support this browser, additions must be made to the Agent/capabilities. Specifically, these changes are:
> 1) The addition of the BlackBerry Agent and Platform constants in
> org.apache.myfaces.trinidad.context.Agent. The BlackBerry Browser 4.0
> runs on BlackBerry devices. Therefore, the Agent and Platform will
> both be "blackberry." (Compare to Pocket IE, where the agent is "ie"
> and the platform is "ppc" for PocketPC.)
> 2) The specifcation of BlackBerry specific capabilities values (in a
> blackberry.xml file in
> trinidad-impl\src\main\resources\META-INF\agent). The capabilities
> values will be quite similar to the Pocket IE 2003 capabilities
> values, except at this point it looks like no PPR will be supported
> (-adfinternal-partialRendering will be false and -adfinternal-xmldom
> will be false).
> 3) The detection of the BlackBerry User-Agent string in
> org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl.
> Also, unlike other agents/platforms, BlackBerry Browser can/should support the hardwareMakeModel Agent property, because this information is provided in the BlackBerry Browser User-Agent string. The BlackBerry User-Agent string starts with
> BlackBerry<model>/<version>, where <model> is the device model. For example, for the BlackBerry 8700 running the BlackBerry Browser 4.1.0, the value is BlackBerry8700/4.1.0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira