cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <>
Subject RE: Re: back button results in a blank
Date Wed, 22 Aug 2012 14:21:32 GMT
I like problems which resolve themselves ;-)

Thx for the update,

From: Paul Joseph []
Sent: Wednesday, August 22, 2012 4:20 PM
Subject: Fwd: Re: back button results in a blank

sorry about this, but it is indeed my error.

The back button works with Cocoon flowscript even in IE.

The problem was I was catching an error and displaying the error to the user in a new page
that replaced the old one.

I gather in this process, the "continuation" gets "lost" and as a result, the back button
no longer works.

What I was doing was as below:
if(errorMsg.length()>0) {
           errorPage("There appear to have been important changes made already.  Are you sure
you want to clear all the fields before saving this task?  If yes, please click the back button.
 Otherwice, click Create to start a new entry.")


-------- Original Message --------

Re: back button results in a blank


Wed, 22 Aug 2012 10:15:19 -0400


Paul Joseph <><>


Yes, sorry about that I am indeed using Flowscript (Cocoon 2.11).

I did read that "back button" issues are confined to IE and FF but not to Chrome.  I have
not confirmed that.

I should do my homework and install the full Flowscript example set that comes with Cocoon
and try it with those.

On 8/22/2012 4:57 AM, Robby Pelssers wrote:

I am assuming Paul is using flowscript (continuations) and they 'should' solve the back button
problem for all I know.  But let's first find out which version of cocoon he's using and if
he is indeed using flowscript.

Could you perhaps setup a minimalistic test case and share it so we can test ourselves?


From: Jos Snellings []
Sent: Wednesday, August 22, 2012 10:54 AM
Subject: Re: back button results in a blank

Hi Paul,

The browser's back button problem is not a specific cocoon one.
I believe that it could have different causes.
It is even browser specific, I believe. The back button is just supposed to show the "previous
viewed resource".
I usually stick to 'restful design principles'. This may help to alleviate back button issues.
As a principle, I never make webapps block the back button.
I know this sounds a bit vague, but it's for the moment my best shot. Anyone else?

Kind regards,
On Tue, Aug 21, 2012 at 8:47 PM, Paul Joseph <<>>
Hi there,

I notice that many times when I click the browser's back button, when I expect to see the
form previously that was displayed, instead I get a blank page and have to click the browser's
refresh button to retrieve what was there.

This is IE8 in particular.

Is there any simple way to preserve what was there before so that on clicking the back button
it displays directly instead of having to click refresh on a blank page?


To unsubscribe, e-mail:<>
For additional commands, e-mail:<>

The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
        -- Gilbert K. Chesterson

View raw message