Thanks Inge. I was hoping for a different answer, but this makes sense.
Jacob
On 11-Dec-09, at 4:02 AM, Inge Solvoll wrote:
I struggled earlier with this. Components bubble up, not down. Your
components won't be alerted that the form in your page was submitted.
If you need form fields in components, you either have to put the
entire
form in the component, or you need to avoid that the form fields
depend on
form events.
On Fri, Dec 11, 2009 at 6:06 AM, Benny Law <benny.mk....@gmail.com>
wrote:
Hi Jacob,
It sounds like you have nested forms which is not allowed.
Benny
On Thu, Dec 10, 2009 at 11:07 PM, Jacob Mouka <jmo...@gmail.com>
wrote:
Hi all (apologies if this is really obvious, but I can't find the
info in
the docs/examples)
I have some sub-components (with form elements) in a form and I
want to
do
some actions when the form is submitted. I've tried something like
void onSubmit() {
System.out.println("submitted");
}
but it doesn't get called on the sub-components, only the parent
component.
What am I missing?
Thanks, Jacob
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org