Re: Validating form components in a refreshing view

2012-07-17 Thread Josh Kamau
Hi ; Is the whole listview wrapped in 1 form or there is a form for each row? Josh. On Tue, Jul 17, 2012 at 10:02 AM, Tobias Knierim tobias.knie...@googlemail.com wrote: Hi there, I'm new to wicket and have a problem I can't find out for myself. Maybe some of you can help me out with this.

Re: Validating form components in a refreshing view

2012-07-17 Thread Tobias Knierim
Hi Josh, The whole view is wrapped in one form. Greetings Tobi Am 17.07.2012 um 09:04 schrieb Josh Kamau joshnet2...@gmail.com: Hi ; Is the whole listview wrapped in 1 form or there is a form for each row? Josh. On Tue, Jul 17, 2012 at 10:02 AM, Tobias Knierim

Re: Validating form components in a refreshing view

2012-07-17 Thread Josh Kamau
Tobi ; May be you can paste some code to show how you are constructing the forms... I believe if you just add the validators to the components and then submit the forms, it just works.. Josh. On Tue, Jul 17, 2012 at 10:22 AM, Tobias Knierim tobias.knie...@googlemail.com wrote: Hi Josh,

Re: Validating form components in a refreshing view

2012-07-17 Thread Tobias Knierim
Hi Josh, I just created a little example of how my application is working: I want to compare value2 from Entry1 with value1 from Entry2 and so on. Any ideas? FormValues form = new FormValues(form); add(form); RefreshingViewEntry refreshingView =

Re: Validating form components in a refreshing view

2012-07-17 Thread Josh Kamau
Hi Tobi ; I cant see any Validation code.. Josh. On Tue, Jul 17, 2012 at 12:01 PM, Tobias Knierim tobias.knie...@googlemail.com wrote: Hi Josh, I just created a little example of how my application is working: I want to compare value2 from Entry1 with value1 from Entry2 and so on. Any

Re: Validating form components in a refreshing view

2012-07-17 Thread Tobias Knierim
Hi Josh, you're right, I haven't put any in this example because I am really not sure how I should accomplish this. If I choose a FormValidator with the FormComponents textOne and textTwo, I can just compare the values of one row. I will extend my example later. Tobi 2012/7/17 Josh Kamau

RE: Validating form components in a refreshing view

2012-07-17 Thread Paul Bors
-Original Message- From: Tobias Knierim [mailto:tobias.knie...@googlemail.com] Sent: Tuesday, July 17, 2012 6:04 AM To: users@wicket.apache.org Subject: Re: Validating form components in a refreshing view Hi Josh, you're right, I haven't put any in this example because I am really