[jbosstools-dev] Xulrunner and jQuery Mobile 1.3

Yahor Radtsevich yradtsevich at exadel.com
Wed Feb 20 10:50:29 EST 2013


On Wed, Feb 20, 2013 at 2:57 PM, Max Rydahl Andersen
<max.andersen at redhat.com> wrote:
>
> seriously - jquery mobile 1.3 doesn't render properly in IE9 ? That sounds
> like a bug on either jquery side or we are missing some conditional includes
> on the template we are rendering ?
I just wanted to illustrate that everything should be tested on
Windows. This particular example is not from our tools - it was
downloaded from jQuery Mobile web site. And it is not very serious.
This happens only because default security policy in IE9 has some
restrictions on communication between HTML files from file:///
protocol and JavaScript from http://.
>
> That said - yes, this problem is tough and I honestly don't know how to
> solve this without dropping XulRunner and move to webkit....but that breaks
> all of the visual page editor tooling.
Agree, there is no other way.
>
> Yahor - would it be possible to add jquery mobile templates to the visual
> editor work and use the visual editor templating logic and browser to give a
> proper rendering ?
In this case we would need to actually rewrite jQuery Mobile templates
in Java. It would take quite a long time, and I think we will get not
much better result than with the proposed workaround (use jQuery 1.2).
>
> /max
>
> On 18 Feb 2013, at 11:12, Yahor Radtsevich <yradtsevich at exadel.com> wrote:
>
> >
> >
> > On Sat, Feb 16, 2013 at 12:18 AM, Alexey Kazakov <akazakov at exadel.com>
> > wrote:
> > On 02/15/2013 12:06 PM, Yahor Radtsevich wrote:
> >> Hi Alexey,
> >>
> >> Did you try to run your editor on Windows with Browser(SWT.NONE), which
> >> means it is IE9 in most cases?
> >>
> >> I believe any problem with XULRunner would be very minor in comparison
> >> with IE.
> >
> > I'm on Linux, so... But anyway jQuery Mobile 1.3 should work in IE9. Why
> > do you expect problems here?
> > Only because there are always problems with it :)
> >
> > I just tried to open a jQuery Mobile 1.2 sample with IE9. This is how it
> > looks with default security settings: http://snag.gy/zCr6K.jpg .
> >
> >
> >
> >
> >
> >
> >>
> >> On Fri, Feb 15, 2013 at 10:32 PM, Alexey Kazakov <akazakov at exadel.com>
> >> wrote:
> >> Hi,
> >>
> >> As you know we are working on wizards for our new jQuery Mobile
> >> palette: https://issues.jboss.org/browse/JBIDE-13413
> >> The wizards have a visual preview. We use the SWT Browser for that. But
> >> there is a problem. It actually uses our bundled xulrunner from VPE which
> >> has a limit support of HTML5.
> >> This browser works ok with jQuery Mobile 1.2 but doesn't work at all
> >> with 1.3.
> >> If you don't have VPE installed in your Eclipse than this preview will
> >> work with 1.3 but if you do then the xulrunner from VPE will be used.
> >> We found a workaround for this problem. Our wizards generate code for
> >> the latest jQuery Mobile 1.3 but we use 1.2 for visual preview. In some
> >> cases 1.2 and 1.3 behaves differently and we have to *simulate* jQuery 1.3
> >> widgets using 1.2 code for preview.
> >> But I believe it's going to be a much bigger problem for future
> >> versions of jQuery Mobile.
> >> It's not only about jQuery wizards actually. It's about all eclipse
> >> widgets which use swt browser.
> >>
> >> _______________________________________________
> >> jbosstools-dev mailing list
> >> jbosstools-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> >>
> >>
> >>
> >> --
> >> Best Regards,
> >> Yahor Radtsevich
> >
> >
> >
> >
> > --
> > Best Regards,
> > Yahor Radtsevich
> > _______________________________________________
> > jbosstools-dev mailing list
> > jbosstools-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>



--
Best Regards,
Yahor Radtsevich


More information about the jbosstools-dev mailing list