It's all in the Component Reference - and Form emits quite a few events:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsform
-Filip
Ted Steen skrev:
value="validate".
but I cant find any documentation on it?
The component event me
value="validate".
but I cant find any documentation on it?
The component event mechanism seems poorly documented.
This is all I find on the site,
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
2007/12/8, Penyihir Kecil <[EMAIL PROTECTED]>:
> @OnEvent(component="searchForm 1
@OnEvent(component="searchForm 1", value="success") ---> what else value can
be filled beside "success" ??
On Dec 8, 2007 10:51 PM, Ted Steen <[EMAIL PROTECTED]> wrote:
> It should be onSuccessFromSearchForm1() and onSuccessFromSearchForm2()
> as it is the form, not the button that succeeds.
>
>
It should be onSuccessFromSearchForm1() and onSuccessFromSearchForm2()
as it is the form, not the button that succeeds.
alternatively
@OnEvent(component="searchForm1", value="success")
public void search1()
{
}
2007/12/8, Angelo Chen <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have two forms in a page, a
Hi,
I have two forms in a page, and I need to determine which form trigger the
onSuccess, tried following code, but does not work, any idea? Thanks,
A.C.
String onSuccessFromSubmit2() {
System.out.println("submit1");
return null;
}
String onSuccessFromSubmit2() {
Syste
Use "From" to specify which component you want events from.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
Cheers,
Nick.
Angelo Chen wrote:
Hi,
I have two forms so far in one page, so there are two submit buttons. now
how to detect which form fires those events like onVal
Hi,
I have two forms so far in one page, so there are two submit buttons. now
how to detect which form fires those events like onValidate/success/submit?
Thanks,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Multiple-forms-in-a-page-tf4658089.html#a13310243
Sent from the Tap