I really like to keep clientSideValidationEnabled=true in my forms,
it is useful on "real" submit, but not on refresh. My listeners for
both, success and refresh, are the same, the only difference is
validation. I thought refresh would bypass client side validation, just
like Tapestry's default Form.
I was just looking the proper way to call refresh for an AjaxForm,
but it will not be that easy. :)
Cluster
Mensagem original - Jesse Kuhnert em 19/04/2006 23:25 :
You can get around this by using the
http://tacos.sourceforge.net/components/AjaxEventSubmit.html
component. (Just set clientSideValidationEnabled to false )
There are also other ways of doing it. I don't remember if it will work for
sure but you can also try doing document.getElementById("your forms
id").submit();
The AjaxEventSubmit idea is probably easiest though.
On 4/19/06, Cluster <[EMAIL PROTECTED]> wrote:
Yep, I checked this file and "tacos.js" before post. I think have found
all related javascript, but until now I can't figure out how to do a
refresh. I will keep trying.
Cluster
Mensagem original - [EMAIL PROTECTED] em 19/04/2006 22:38 :
Can't help much for now but you can dig in
https://svn.sourceforge.net/svnroot/tacos/trunk/src/java/net/sf/tacos/ajax/components/Form.js
and maybe find a solution.
Tacos replaces Tapestrys default form handlers, etc...
>From Cluster <[EMAIL PROTECTED]>:
Hi,
I'm working with an AjaxForm component and need to execute a
refresh
on this form. With Tapestry Form component I just use
"this.form.events.refresh()", but this code doesn't work on AjaxForm. I
need a refresh to avoid data validation.
How do I call refresh for an AjaxForm?
Thanks,
Cluster
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]