You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Koen Segers <Ko...@scarlet.be> on 2005/06/13 13:46:57 UTC
validation in foreach
I have a foreach in a form object.
One of the components in this foreach is wrong. How can I tell the validator
which component is incorrect?
I know how to do it with components that aren't in a foreach...
Greetz
--
Koen Segers
<ko...@scarlet.be>
<http://eddyvite.dyndns.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: validation in foreach
Posted by Koen Segers <Ko...@scarlet.be>.
On Tuesday 14 June 2005 13:15, Kent Tong wrote:
> You should use a ListEditMap instead. It allows you to specify a
> listener which will be called for each row. You may perform the
> row-level validation there.
Thx, will try it this weekend
--
Koen Segers
<ko...@scarlet.be>
<http://eddyvite.dyndns.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: validation in foreach
Posted by Kent Tong <ke...@cpttm.org.mo>.
Koen Segers <KoenSegers <at> scarlet.be> writes:
>
> I have a foreach in a form object.
>
> One of the components in this foreach is wrong. How can I tell the validator
> which component is incorrect?
> I know how to do it with components that aren't in a foreach...
You should use a ListEditMap instead. It allows you to specify a
listener which will be called for each row. You may perform the
row-level validation there.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org