@ Rodolfo : thanks for the tip, i'll try to check this out today.
actually the name of the project is databinder-valid-hib, and you can find it 
on the databinder maven repo. (that's a tip for anyone having a hard time 
finding this project ;)

@ Igor : that's exactly what i started with, a simple validator that can be 
added to any TextField, that's a starter but it's not enough.

Now IMHO it would be more convenient to have something like a global form 
validator, just like the HibernateFormValidator of the old hibernate-validator 
project. Or even better, an IComponentOnBeforeRenderListener.

The idea is to only specify validation in the model objects and you're done ! 
I'm tired of having to repeat myself to add the exact same validation both on 
the server side and the client side.

So, i'll try to have something up by the end of the week (hopefully) and share 
it with you. Basically, i'll focus on adapting the wicketstuff 
hibernate-validator.

Regards.

--
Ophélie Salm
Zenika
http://zenika.com
http://blog.zenika.com
http://yeswicket.com

Reply via email to