Hi Robert,
Thanks, that solves my problem, didn't know it would be so easy :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/catch-events-from-Form-in-component-tp5717772p5717782.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hi,
If you're looking like:
page.tml:
mycomponent.tml:
...
Then, if you don't catch the form event within mycomponent, it will bubble up
and appear as if it came from mycomponent, so the event handler in page.tml
would look like:
onSubmitFromFoo() {
}
So you don't need to worry about m
Ok I think I found the answer: Event bubbling
Now my bigger problem is that I can't give the Form component inside the
Wizard component a dynamic id, because component ids are static.
What I was trying: (doesn't work)
Wizard.tml
...
Wizard.java
-
public String getFo