Hi, I'm using wicket to build a prototype and found interesting the content of this:
My problem was that the validation only works until I submit the form, the indicator only appears after the submit of the form and the message of the caption contains all the errors of the feedback.
So I create a validation that not depends on dojo, indicate the error of the validation, show the alerticon on fail and persist after the submit of the form.
If is useful to someone, here attach a quick-start.
To use it add the behavior to any field, i.e.: <Form field>.add(new FormFieldValidator(ClientEvent.<event>));
The code works on 2.0-SNAPSHOT (I don't use 1.x, so I don't known the API changes).

PS: Thanks for so powerful and flexible framework and sorry for my bad english.

Attachment: wicket-quickstart.tar.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to