Ah, I guess I misunderstood. You would like the error to be displayed
without the user having to press submit?

Maybe setting the expires-header and nocache-header could help, but:

When you go back to a page resulting from a POST-request, the browser
usually won't resubmit the form unless the user press reload, and it will
still present a warning (IE behaviour, at least).

I guess that I will stumble into this myself, and I once wrote an
application that dealt with this particular problem by
invalidating/replacing the history-object in the browser, using some kind of
intermidiate result-page before showing the next page, but I don't know how
this would behave with flowscript and continuations.

Askild
-

roy huang wrote:
> I thought about this way ,but this still allow user back and 
> submit again.I want to display error or make page invalidate 
> when user back .
> 
> Roy Huang
> >>
> Can't you use the <map:handle-errors/> here, as in the root 
> sitemap in the wepapp-directory? You have a test for 
> invalid-continuation there, and then you can display any 
> error message you want, using regular pipelines.
> 
> Askild
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to