Forums Register Login

Safari 3 "First Submit Fails" Problem

+Pie Number of slices to send: Send
Hi,

I'm having a really weird issue with just a couple of pages in my JSF application, and the problem I'm having seems to only manifest itself in Safari 3 (Mac & Win), but not in Safari 2, IE, or FF.

The page seems to fail on the first time it submits, giving the user the initial impression that the form has done a reset, even though it has done a full round trip in the meantime. If the user fills out the information (just two fields) and clicks continue or hits enter to submit a second time, then the submit works.

Does this smell familiar to anyone here? Where should I start looking first to figure out what's going on?

Thanks!

[edit]
I just tried an experiment by adding a bean method as the action parameter on the commandButtons, and the interesting thing is that it does not hit my method on the first round trip, but does on the second try...

just in case that jogs anyone's memory.

Anyway, I'm going to keep experimenting to see if I can figure out what's going on there...

I'm wondering if it's similar in nature to this problem mentioned on the Sun forums: http://forum.java.sun.com/thread.jspa?forumID=427&threadID=416345

Let me know what you guys think.

Thanks!
[/edit]

[ November 06, 2007: Message edited by: evan k. stone ]
[ November 06, 2007: Message edited by: evan k. stone ]
+Pie Number of slices to send: Send
OK... You're not going to believe this, because I sure don't.

As a final, last-ditch attempt at the possibility that this might actually be a bug in Safari 3 (since it is a Beta product at this point in time, after all), I ran tests on a newer build of Safari 3 for Windows downloaded from the WebKit.org site, and the problem vanished. The first submit on the form is accepted, and the application works fine.

Go figure.
+Pie Number of slices to send: Send
 

Originally posted by evan k. stone:
Hi,

I'm having a really weird issue with just a couple of pages in my JSF application, and the problem I'm having seems to only manifest itself in Safari 3 (Mac & Win), but not in Safari 2, IE, or FF.

The page seems to fail on the first time it submits, giving the user the initial impression that the form has done a reset, even though it has done a full round trip in the meantime. If the user fills out the information (just two fields) and clicks continue or hits enter to submit a second time, then the submit works.

Does this smell familiar to anyone here? Where should I start looking first to figure out what's going on?

Thanks!

[edit]
I just tried an experiment by adding a bean method as the action parameter on the commandButtons, and the interesting thing is that it does not hit my method on the first round trip, but does on the second try...

just in case that jogs anyone's memory.

Anyway, I'm going to keep experimenting to see if I can figure out what's going on there...

I'm wondering if it's similar in nature to this problem mentioned on the Sun forums: http://forum.java.sun.com/thread.jspa?forumID=427&threadID=416345

Let me know what you guys think.

Thanks!
[/edit]

[ November 06, 2007: Message edited by: evan k. stone ]

[ November 06, 2007: Message edited by: evan k. stone ]





it happens to me also, it appears to me it occurs when the server is newly started and the first user submits the page, after that the submit button works as its supposed to
+Pie Number of slices to send: Send
Hello,

I experience exactly the same problem in safari 3.1.2.

At the moment i belive, that the solution is that you have to specify the form's "action" atribute with a full url address:
action="http://yoursite.com/dir/?a=one&b=two"
We begin by testing your absorbancy by exposing you to this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2518 times.
Similar Threads
STATE_SAVING_METHOD
add child component
problem h:selectOneRadio
Problems in working with local home interfaces
Font Problem in Java Print API
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:28:31.