Support for "back" and "reload"

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Support for "back" and "reload"

Erik Bruchez
Administrator
All,

I just wanted to mention that since yesterday, we have support for
"back" and "reload" with Orbeon PresentationServer's XForms NG.

It may sound trivial, but many if not most Ajax applications out there
break "back" and "reload" because most web browers lose all HTML DOM
updates when those user actions occur (Opera being on the other hand
pretty good at doing the right thing, and the latest Firefox improving
quite a bit in this respect as well).

An example of broken behavior would consist in loading the XForms TODO
Lists example, creating a few new TODO entries, then loading
www.google.com in the same window/tab, pressing the "back" button of the
browser, and contemplating the sad reality that your new TODO entries
have disappeared.

Now OPS does some magic to make this work as you expect :-)

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Eric van der Vlist
Hi Erik,

Le jeudi 24 novembre 2005 à 21:22 +0100, Erik Bruchez a écrit :

> All,
>
> I just wanted to mention that since yesterday, we have support for
> "back" and "reload" with Orbeon PresentationServer's XForms NG.
>
> It may sound trivial, but many if not most Ajax applications out there
> break "back" and "reload" because most web browers lose all HTML DOM
> updates when those user actions occur (Opera being on the other hand
> pretty good at doing the right thing, and the latest Firefox improving
> quite a bit in this respect as well).
>
> An example of broken behavior would consist in loading the XForms TODO
> Lists example, creating a few new TODO entries, then loading
> www.google.com in the same window/tab, pressing the "back" button of the
> browser, and contemplating the sad reality that your new TODO entries
> have disappeared.
Hmmm... that sound to still be the case with my browser trying both
against the Orbeon site and a fresh build on my workstation :-( ...

Is that already available?

> Now OPS does some magic to make this work as you expect :-)

That would be real nice!

Thanks,

Eric

--
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Erik Bruchez
Administrator
Eric van der Vlist wrote:

>>I just wanted to mention that since yesterday, we have support for
>>"back" and "reload" with Orbeon PresentationServer's XForms NG.
>>
> Hmmm... that sound to still be the case with my browser trying both
> against the Orbeon site and a fresh build on my workstation :-( ...
>
> Is that already available?

Yes, the code is checked in. There are also client-side changes, so try
to make sure the latest Javascript files are loaded by your browser
(shift-reload).

Or, it may that there is a problem with older version of Mozilla? We
tested the behavior with Firefox 1.5 and IE 6.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Eric van der Vlist
Le vendredi 25 novembre 2005 à 12:57 +0100, Erik Bruchez a écrit :

> Eric van der Vlist wrote:
>
> >>I just wanted to mention that since yesterday, we have support for
> >>"back" and "reload" with Orbeon PresentationServer's XForms NG.
> >>
> > Hmmm... that sound to still be the case with my browser trying both
> > against the Orbeon site and a fresh build on my workstation :-( ...
> >
> > Is that already available?
>
> Yes, the code is checked in. There are also client-side changes, so try
> to make sure the latest Javascript files are loaded by your browser
> (shift-reload).
Yes, that's the case.
>
> Or, it may that there is a problem with older version of Mozilla? We
> tested the behavior with Firefox 1.5 and IE 6.

Might be, I am running "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12)
Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"...

Eric
--
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Erik Bruchez
Administrator
Eric van der Vlist wrote:

> Might be, I am running "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12)
> Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"...

Weird, I just tried with Gecko/20050915 Firefox/1.0.7 on Windows, and it
works fine. The other version I am using is Gecko/20051111 Firefox/1.5

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Alessandro  Vernet
Administrator
In reply to this post by Eric van der Vlist
Eric,

Yes, that code is included in the current "unstable builds". What is
your test case? What browser are you using?

Alex

On 11/25/05, Eric van der Vlist <[hidden email]> wrote:

> Hi Erik,
>
> Le jeudi 24 novembre 2005 à 21:22 +0100, Erik Bruchez a écrit :
> > All,
> >
> > I just wanted to mention that since yesterday, we have support for
> > "back" and "reload" with Orbeon PresentationServer's XForms NG.
> >
> > It may sound trivial, but many if not most Ajax applications out there
> > break "back" and "reload" because most web browers lose all HTML DOM
> > updates when those user actions occur (Opera being on the other hand
> > pretty good at doing the right thing, and the latest Firefox improving
> > quite a bit in this respect as well).
> >
> > An example of broken behavior would consist in loading the XForms TODO
> > Lists example, creating a few new TODO entries, then loading
> > www.google.com in the same window/tab, pressing the "back" button of the
> > browser, and contemplating the sad reality that your new TODO entries
> > have disappeared.
>
> Hmmm... that sound to still be the case with my browser trying both
> against the Orbeon site and a fresh build on my workstation :-( ...
>
> Is that already available?
>
> > Now OPS does some magic to make this work as you expect :-)
>
> That would be real nice!
>
> Thanks,
>
> Eric
>
> --
> Freelance consulting and training.
>                                             http://dyomedea.com/english/
> ------------------------------------------------------------------------
> Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
> (ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
> (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
> ------------------------------------------------------------------------
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Eric van der Vlist
Le lundi 28 novembre 2005 à 18:18 -0800, Alessandro Vernet a écrit :
> Eric,
>
> Yes, that code is included in the current "unstable builds". What is
> your test case? What browser are you using?

My test case is your todo list example with the exact scenario Erik has
described and I am using the firefox version that comes with the latest
Ubuntu stable release: "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12)
Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"...

Eric

--
Don't you think all these XML schema languages should work together?
                                                         http://dsdl.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Support for "back" and "reload"

Erik Bruchez
Administrator
Eric van der Vlist wrote:

> Le lundi 28 novembre 2005 � 18:18 -0800, Alessandro Vernet a �crit :
>
>>Eric,
>>
>>Yes, that code is included in the current "unstable builds". What is
>>your test case? What browser are you using?
>
>
> My test case is your todo list example with the exact scenario Erik has
> described and I am using the firefox version that comes with the latest
> Ubuntu stable release: "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12)
> Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)"...
Just in case: we just fixed a bug related to this which could appear
when using oxf.xforms.state-handling=session.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws