Hi Marcelo,
Please note that Click mailing lists have moved to Apache:
http://click.sourceforge.net/docs/click-online.html#mailing-lists
The IE message is displayed when going back to a page where a form POST
was performed. By displaying the message
the browser provides users the option to refresh, which would resubmit
the form. This would be problematic if there was a
payment transaction as the user would end up paying twice.
A common pattern to work around this is the post-redirect pattern. After
the form post, redirect back to the same
page. When going back in history IE will perform a GET request instead
of a POST and won't display the refresh message.
See the method "onForm1Submit" at the bottom of the example:
http://www.avoka.com/click-examples/source-viewer.htm?filename=WEB-INF/classes/net/sf/click/examples/page/form/MultipleFormsDemo.java
You can also read the section "Preventing Accidental Form Posts" in the
form Javadoc:
http://click.sourceforge.net/docs/click-api/net/sf/click/control/Form.html
kind regards
bob
Marcelo Grassi Franco Melgaço wrote:
Hello, how are you?
I have a page with a back button ( javascript history.back() )
When the user with internet explorer browser clicks on that button,
internet explorer shows that the page was expired, try to refresh the
browser.
Does anyone know how to force the i.e. to not show that message?
I thinks is something with the expires/cache, meta info.
Thanks !
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
Click-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/click-user