I almost did that and I have a similar requirement. I basically have 2 fields which can be a number or date or whatever. And I need different validators depending on their type.
I almost went with doing my own abstract field but I ended up doing something different. I made a parameter thats a string thats basically a validator expression like required,minlength=1. I return different validator expressions depending on various expressions. I basically injected a FieldTranslatorSource and used it to execute the expressions. Works pretty well. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validator-abilities-tp4845773p4854497.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