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/08/02 21:06:17 UTC

[jira] Created: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

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


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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Adam Winer updated ADFFACES-110:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Patch Available  (was: Reopened)

> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Adam Winer updated ADFFACES-110:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Applied both patches, thanks!

> 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, adffaces110b.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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Open  (was: Patch Available)

> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Attachment: adffaces110b.patch

I'm attaching a second patch to this issue to fix an issue with the first patch.

Because the first patch was already committed, this patch does NOT include the entire fix.  It ONLY fixes the issue introduced by the original patch.

> 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, adffaces110b.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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Attachment: adffaces110.patch

I've modified the patch I provided earlier to specify that BlackBerry does NOT support the JavaScript DOM.  I also added BlackBerry to the TrinidadAgent (APPLICATION and OS).

> 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

        

[jira] Reopened: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Open  (was: Patch Available)

> 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
>
> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Attachment:     (was: adffaces110.patch)

> 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
>
> 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

        

[jira] Commented: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-110?page=comments#action_12425546 ] 
            
Joseph Rozier commented on ADFFACES-110:
----------------------------------------

This change may also require modifications to the JavaScript that creates/uses the _agent Object, specifically the following files in trinidad-impl/src/main/javascript/META-INF/adf/jsLibs:

Common.js
Core.js
DateField.js
PPR.js
Window.js

> 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
>
> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Attachment: adffaces110.patch

This includes changes necessary for providing BlackBerry Browser agent support.

Note that this does NOT imply that every component/feature of Trinidad will work on the BlackBerry Browser at this point.  This patch simply simply creates the BlackBerry Agent/Platform and sets the capabilities for the agent appropriately.  With this patch, a BlackBerry Browser 4.0+ connecting to a Trinidad application will generally function though there may be some minor issues.  Future issues/patches will address individual components/features that requires changes to work on the BlackBerry Browser.

> 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

        

[jira] Updated: (ADFFACES-110) Add Agent for BlackBerry Browser 4.0

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-110?page=all ]

Joseph Rozier updated ADFFACES-110:
-----------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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