Re: Form submit with bypass to required validation

2009-04-23 Thread pjanuario
Hi, I have accomplished the main goal without removing cliente side validation. I don't wanted to remove the client validation and by this way the required field validation is made in java code on server side only. The default client side validation it's still working. I belivie this should be a

Re: Form submit with bypass to required validation

2009-04-06 Thread Geoff Callender
Button: http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/Button.html On 07/04/2009, at 2:07 PM, Geoff Callender wrote: Does this example help? It uses chenillekit's button with type <> "submit" when client-side validation is not wanted. h

Re: Form submit with bypass to required validation

2009-04-06 Thread Geoff Callender
Does this example help? It uses chenillekit's button with type <> "submit" when client-side validation is not wanted. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/wizard/usingformfragments/START/1239080805266 Geoff On 07/04/2009, at 3:24 AM, Pedro Januário wrote:

Re: Form submit with bypass to required validation

2009-04-06 Thread Pedro Januário
I would like to have client validation working... My aproach was to implement the required validation on server side, on onValidateForm. That way the rest of the client validation still working on. But i think this should be one easy stuff... but i don't know if tapestry allows to bypass client sid

Re: Form submit with bypass to required validation

2009-04-06 Thread Tapestry Infodea
You are right! Using the client side validation the follows method is not called: void onValidateForm() { if (saveMode) form.clearErrors(); } If you use ... Hi Roberto, I suppose that you are talking about server side code, Form.clearError(), isn't it? The main problem is on client sid

Re: Form submit with bypass to required validation

2009-04-06 Thread Pedro Januário
Hi Roberto, I suppose that you are talking about server side code, Form.clearError(), isn't it? The main problem is on client side. 2009/4/6 Tapestry Infodea > Hi, > you can use Form.clearErrors() when you save. > > Roberto. > > Pedro Januário ha scritto: > > Hi Jorge, >> >> Probably i didn't

Re: Form submit with bypass to required validation

2009-04-06 Thread Tapestry Infodea
Hi, you can use Form.clearErrors() when you save. Roberto. Pedro Januário ha scritto: Hi Jorge, Probably i didn't explained very well. The idea was to kept the client validation turned on, and i don't want to display any required validation message on save submit button. The aproach that you m

Re: Form submit with bypass to required validation

2009-04-06 Thread Pedro Januário
Hi Jorge, Probably i didn't explained very well. The idea was to kept the client validation turned on, and i don't want to display any required validation message on save submit button. The aproach that you mentioned, need's client validations turned off. Regards. 2009/4/6 Jorge Saridis > Use

Re: Form submit with bypass to required validation

2009-04-06 Thread Jorge Saridis
Use onSubmit form the save button, and onSuccess for the finish one http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html 2009/4/6 Pedro Januário : > Hi, > > I have the need to use a form with two submit buttons: save & finish. > The form contains