Depends on how you are doing the "dynamic" part. If you are looping over your textfields, then
injecting them into the page class should work, e.g. <t:loop ...><t:textfield t:id="foo" ...
/></t:loop> and "@Inject private TextField foo" should give you the field of the current iteration.
Uli
On 16.02.2010 14:34 schrieb Dominik Gätjens:
Hello List,
I'm building a dynamic form with textfields on the fly and need to do some
cross validation. This all works pretty and i find two fields that are invalid
together.
But how can I report this error AND mark both fields as invalid? I don't have a
component to call Form.recordError(field, errorMessage)
Thanks
Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org