|
Hey Vincent,
In wicket, validators can be add()ed to components
like anything else. For example, one way to make a textfield required
without using the helper class would be to do something like:
TextField tf = new
TextField("id",...);
tf.add(RequiredValidator.getInstance());
Check out the javadoc for the
wicket.markup.html.form.validation package, there are some common
validators in there and its real easy to write a custom one yourself. I
think you'll find that validation in wicket is as easy as you were
hoping.
|
- Re: [Wicket-user] validating input Jonathan Cone
- Re: [Wicket-user] validating input Vincent Jenks
- Re: [Wicket-user] validating input Igor Vaynberg
- Re: [Wicket-user] validating input Andre Matheus
- Re: [Wicket-user] validating input Johan Compagner
- Re: [Wicket-user] validating input Andre Matheus
- Re: [Wicket-user] validating input Martijn Dashorst
- Re: [Wicket-user] validating input Eelco Hillenius
- Re: [Wicket-user] validating in... Igor Vaynberg
- Re: [Wicket-user] validatin... Eelco Hillenius
- Re: [Wicket-user] validatin... Igor Vaynberg
