I am having this exact same problem with regards to the back button.
In any page if the user clicks the back button then he will need to
click any submit buttons twice to get the desired result.
I have read around extensively on this issue and understand about the
phases and needing to refresh the view before the action can take place.
However it is still a big problem for use in web sites.
Under RI I find that the double click problem goes away but the result
of the click can often be erroneous. Under MyFaces I always get the
correct result from a click but always have to click twice.
I am using MyFaces 1.1.1.
Does anyone know a solution to this problem or a good workaround. Not
being allowed to use the back button is not a good selling point.
cheers,
Tim D
Kołoszko Paweł wrote:
I have problem with double submit:
1. I fill some inputext components
2. I press submit button
3. I wait a while and then I press submit button again.
4. My current page is then refreshed with all inputext components
cleared, regardless what is the action under the submit button.
I have read that I am not the first one with this problem. So my
questions are:
1. I am using version 1.0.9. Has something changed in next versions?
2. I tried s:token from shale. Problem didn't disappear. Maybe I was
doing something wrong but I checked that code responsible for throwing
validate exception in token component was never invoked in my
cases. How about s:token component in your applications? Does it work?
3. How do you manage with this problem?
PawelK
--
Tim Davies
Analyst Developer
KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London EC1Y 8TY
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301
email: [EMAIL PROTECTED]
web: http://www.ktsplc.com