rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Wilson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAVE-772) JQueryMobile widgets broken in OpenAjax iframe
Date Mon, 01 Oct 2012 15:01:07 GMT

    [ 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

View raw message