Hi,

I was looking for a similar solution (my example was a "period selection"
with a from- and to date - where a cross field validation had to ensure that
from date was before todate)

I found some usable examples in the 3 "sub-form" examples in jumpstart. I
ended up extending AbstractField for my solution.

HTH
-- 
Chris

On Tue, Sep 27, 2011 at 7:19 PM, cqasker <cqas...@yahoo.com> wrote:

> That makes sense. But is there a way I can wrap this up into a validator
> that
> say takes a fieldid, and then server side, the validator can grab the value
> of the field id (in the same form of course) and compare it to the field
> the
> validator is attached to?
>
> This way I can just plug this to several forms in my app and not have to
> write separate validation code for each form.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Validator-abilities-tp4845773p4846156.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to