To elaborate on what Steve said, in onValidateFromForm(), 'form'
stands for the component id of the form, so for
the validate event handler for form will be
onValidateFromMyForm()
On Thu, Sep 8, 2011 at 12:25 PM, Steve Eynon
wrote:
> void onValidateForm()
>
> is deprecated in T5.2 and has b
Thanks for notifying me.
I haven't knew it before...
On Thu, Sep 8, 2011 at 1:55 PM, Steve Eynon
wrote:
> void onValidateForm()
>
> is deprecated in T5.2 and has been removed in T5.3, best to use
>
> onValidateFromForm()
>
> instead. I mention it 'cos I got bit by it upgrading some apps from
> T5
void onValidateForm()
is deprecated in T5.2 and has been removed in T5.3, best to use
onValidateFromForm()
instead. I mention it 'cos I got bit by it upgrading some apps from
T5.1 to T5.3.
Steve.
On 8 September 2011 10:54, dick_hu wrote:
>
> Yohan Yudanara-2 wrote:
>>
>> server side or clien
Yohan Yudanara-2 wrote:
>
> server side or client-side validation?
>
> client-side validation,but not in tapestry
>
> If client side, then you can create regular onClick="blablabla()"> on .tml file.
> On blablabla() method you do the client-side validation and then submit
> the
> form.
>
> ju
server side or client-side validation?
If server side, then you just need to create onValidateForm() method in your
page class.
If client side, then you can create regular on .tml file.
On blablabla() method you do the client-side validation and then submit the
form.
FYI, Tapestry already has m
On Wed, 07 Sep 2011 23:06:17 -0300, dick_hu wrote:
tapesty has it's own submit way.
I disagree, as an ordinary HTML submit button works
with the Tapestry Form component, even if it has client-side validation or
even AJAX updates.
Now I want do some validate when I click the submit bu