formcomponent.add(validator)
formcomponent.add(new ajaxformcomponentupdatingbehavior("the_event"){
protected void onError(AjaxRequestTarget target, RuntimeException e){
target.add(feedback);
}
protected abstract void onUpdate(AjaxRequestTarget target){
target.add(feedback)}
}for more concrete example look into the wicket examples that comes with the distribution On Thu, Jun 14, 2012 at 11:04 PM, srinash <[email protected]> wrote: > Thanks for the reply. Can you please direct me to some examples. > > Sri > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/validation-without-form-tp4649992p4649996.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- thanks, Vineet Semwal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
