You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2012/08/23 10:41:42 UTC
[jira] [Created] (RAVE-772) Wookie proxy URLs are broken in Rave
Scott Wilson created RAVE-772:
---------------------------------
Summary: Wookie proxy URLs are broken in Rave
Key: RAVE-772
URL: https://issues.apache.org/jira/browse/RAVE-772
Project: Rave
Issue Type: Bug
Reporter: Scott Wilson
If you use a Wookie widget that uses the server-side proxy, such as Twidget, you end up with an iFrame URL like this:
http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
The "#rpctoken=cuXrOH" section breaks the proxy URL and means the widget can't retrieve any data.
I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
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
[jira] [Commented] (RAVE-772) JQueryMobile widgets broken in
OpenAjax iframe
Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466848#comment-13466848 ]
Chris Geer commented on RAVE-772:
---------------------------------
Scott, the #rpctoken fragment is being added by Shindig and it's used for quite a few things. Is the problem the #rpctoken fragment itself or is the problem that the st= fragment isn't complete?
> JQueryMobile widgets broken in OpenAjax iframe
> ----------------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (RAVE-772) JQueryMobile widgets broken in
OpenAjax iframe
Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466861#comment-13466861 ]
Scott Wilson commented on RAVE-772:
-----------------------------------
The problem is the use of a fragment identifier for carrying the token as this is also used by JQuery Mobile to specify the view to display, e.g.:
my.widget.com#help = the help modal
my.widget.com#splash = the loading page
my.widget.com#home = the home view
The error is that widgets created using JQuery Mobile don't show up in Rave - they display as a blank frame as they never load a valid view as they treat the #rpctoken as being the view name.
As far as I'm aware, the use of the fragment is to support cross-frame messaging in IE6/7. There was supposed to also be a flash alternative transport but I don't know how that can be enabled.
> JQueryMobile widgets broken in OpenAjax iframe
> ----------------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (RAVE-772) Wookie proxy URLs are broken in Rave
Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440162#comment-13440162 ]
Scott Wilson commented on RAVE-772:
-----------------------------------
On testing a bit further I can see that the problem isn't an issue with the proxy at all, its a problem with JQueryMobile - the fragment identifier screws up the JQM page view system. This seems like a pretty major problem if we can't use OpenAjax with JQM.
> Wookie proxy URLs are broken in Rave
> ------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses the server-side proxy, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the proxy URL and means the widget can't retrieve any data.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
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
[jira] [Updated] (RAVE-772) JQueryMobile widgets broken in OpenAjax
iframe
Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Wilson updated RAVE-772:
------------------------------
Description:
If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
was:
If you use a Wookie widget that uses the server-side proxy, such as Twidget, you end up with an iFrame URL like this:
http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
The "#rpctoken=cuXrOH" section breaks the proxy URL and means the widget can't retrieve any data.
I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
Summary: JQueryMobile widgets broken in OpenAjax iframe (was: Wookie proxy URLs are broken in Rave)
Changed title to be more accurate
> JQueryMobile widgets broken in OpenAjax iframe
> ----------------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
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
[jira] [Commented] (RAVE-772) JQueryMobile widgets broken in
OpenAjax iframe
Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466822#comment-13466822 ]
Scott Wilson commented on RAVE-772:
-----------------------------------
This is causing us a lot of problems - does anyone know if this is fixable in Rave, or does it require changes to Shindig or OpenAjax itself?
> JQueryMobile widgets broken in OpenAjax iframe
> ----------------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (RAVE-772) JQueryMobile widgets broken in
OpenAjax iframe
Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466854#comment-13466854 ]
Chris Geer commented on RAVE-772:
---------------------------------
BTW - What is the problem/error that is being generated?
> JQueryMobile widgets broken in OpenAjax iframe
> ----------------------------------------------
>
> Key: RAVE-772
> URL: https://issues.apache.org/jira/browse/RAVE-772
> Project: Rave
> Issue Type: Bug
> Reporter: Scott Wilson
>
> If you use a Wookie widget that uses JQuery Mobile, such as Twidget, you end up with an iFrame URL like this:
> http://localhost:8080/wookie/wservices/wookie.apache.org/widgets/twitter/index.html?idkey=cd03TmSPSK74cv.sl.gB3GVwdx1Hbo.eq.&proxy=http://localhost:8080/wookie/proxy&st=#rpctoken=cuXrOH&oahParent=http%3A%2F%2Flocalhost%3A8080
> The "#rpctoken=cuXrOH" section breaks the view model and means the widget can't be displayed.
> I don't know where this fragment id is added, presumably its something that happens in the OpenAjax code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira