Forgive me if this question has been asked a million and one times. Coming
from a Struts background, one of the feature I find useful over there is the
easiness for handling a non-fixed number of form fields that are rendered
through a loop, using the indexed properties approach. What is the
The component SubmitNotifier is the solution.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/SubmitNotifier.html
Put this component inside a form. When the form is submited the component
will fire two events for every iteration of your loop.
Handle
You might like to take a look at the following example on allowing users to
input up to 5 numbers.
http://lombok.demon.co.uk/tapestry5Demo/test/sum
The source code is available on the same page.
Shing
--- On Wed, 17/12/08, Eric Ma eric...@db.com wrote:
From: Eric Ma eric...@db.com