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 <avisrid...@gmail.com> 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: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- thanks, Vineet Semwal --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org