it does work really differnet then wat we do now.
And with a panel it looks maybe nice. But it is a but more blown up code.
Personally i like this then better:


MyPanel implements IFormValidator
            validate the panel.

and the Form searches for IFormValidator implementors in its tree (besides the normal onces it already has)
and takes those also into account.

Much cleaner and not so verbose in code if you ask me..


On 8/10/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
personally i like the visitor joni proposed - it doesnt need to be part of core but it solves the problem elegantly. i recently factored out form.validateFormValidator(IFormValidator v) that maeks the usecase even simpler to implement.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Wicket-user mailing list

Reply via email to