Ok, I've put some prints in the setters and the form event methods, this is
what I get out:

----logging in member
127.0.0.1 -  -  [07/May/2008:17:00:29 +0000] "POST
/home.landingpage.loginwidget.loginform:submit HTTP/1.1" 200 2 "-"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404
Firefox/2.0.0.14"
------validate null
------setusername null
------validate null
------setpassword null
------successful null
----logging in member
127.0.0.1 -  -  [07/May/2008:17:00:29 +0000] "POST
/home.landingpage.loginwidget.loginform HTTP/1.1" 200 4 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404
Firefox/2.0.0.14"

So it appears that the onsubmit method is being called twice, but the form
is only being properly submitted once.  I think the first time the submit
function is called is when I get the javascript callback, which is why I'm
always returned false - the form fields (username and password) are not
being set that time around.  Does anyone know why this is, or how I can fix
it?



-- 
View this message in context: 
http://www.nabble.com/Problem-with-form-submission-with-callback-tp17106416p17109977.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to