Re: wicket 6 form example?

2013-01-07 Thread Martin Grigorov
Hi,

I think
https://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q=shows
an example for this.
It is also based on Wicket 1.3 but this area is not different in Wicket 6.
jQuery is just a detail about internals. The Java APIs are still the same.

All you need is AjaxFormComponentUpdatingBehavior (AFCUB) attached to the
FormComponent and a FeedbackPanel(s) which will be updated in AFCUB's
onSubmit() and onError() methods.


On Mon, Jan 7, 2013 at 1:30 PM, Andy Van Den Heuvel 
andy.vandenheu...@gmail.com wrote:

 I'm new to Wicket and I'm searching for good examples using wicket 6/jQuery
 based examples for forms.

 Basically I need to create a form with inline ajax validation. I mean: when
 I leave a textfield only this textfield is validated via ajax and feedback
 is inline for that textfield only.

 I've read Wicket In Action, but this is 1.3 code. Is there a good github
 project or something that focuses on the Wicket 6 stuff?




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re: wicket 6 form example?

2013-01-07 Thread Andy Van Den Heuvel
Thanks, I will try it out


On Mon, Jan 7, 2013 at 12:55 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 Hi,

 I think

 https://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q=shows
 an example for this.
 It is also based on Wicket 1.3 but this area is not different in Wicket 6.
 jQuery is just a detail about internals. The Java APIs are still the same.

 All you need is AjaxFormComponentUpdatingBehavior (AFCUB) attached to the
 FormComponent and a FeedbackPanel(s) which will be updated in AFCUB's
 onSubmit() and onError() methods.


 On Mon, Jan 7, 2013 at 1:30 PM, Andy Van Den Heuvel 
 andy.vandenheu...@gmail.com wrote:

  I'm new to Wicket and I'm searching for good examples using wicket
 6/jQuery
  based examples for forms.
 
  Basically I need to create a form with inline ajax validation. I mean:
 when
  I leave a textfield only this textfield is validated via ajax and
 feedback
  is inline for that textfield only.
 
  I've read Wicket In Action, but this is 1.3 code. Is there a good github
  project or something that focuses on the Wicket 6 stuff?
 



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com http://jweekend.com/