Cancelling form submit in ModalWindow causes validation errors in Form of underlying base page?

2012-01-12 Thread heapifyman
Hello everyone, first, sorry for the bad subject. I didn't know how to describe this problem in a short line. I have a page with a form with two AjaxButtons (Add and Delete) and an AjaxFallbackDefaultDataTable. The first button opens a ModalWindow with another form to add new entries to the table.

Re: During form submit, if there are no validation errors , i need to run a script before form submits

2010-11-18 Thread Igor Vaynberg
onsubmit wont be called if there are validation errors, so you are already good. -igor On Thu, Nov 18, 2010 at 1:01 AM, Ben wrote: > > When I click on form's submit button, I need to do 2 things.. > > 1. I need to perform server side validation.(in onSubmit method) > 2. Afte

During form submit, if there are no validation errors , i need to run a script before form submits

2010-11-18 Thread Ben
When I click on form's submit button, I need to do 2 things.. 1. I need to perform server side validation.(in onSubmit method) 2. After that I need to run a script(seperate method) before form submits. During step 1, if i encounter any validation errors, feedback panel handles tha

RE: Validation errors

2010-01-21 Thread Riccardo Trombini
Great thank you very much ! -Original Message- From: Stefan Droog [mailto:sdr...@educator.eu] Sent: Donnerstag, 21. Januar 2010 17:13 To: users@wicket.apache.org Subject: RE: Validation errors Try form.error(getString("error.SolrConnectionFault")); -Original Message

RE: Validation errors

2010-01-21 Thread Stefan Droog
Try form.error(getString("error.SolrConnectionFault")); -Original Message- From: Riccardo Trombini [mailto:riccardo.tromb...@csnc.ch] Sent: Thursday, January 21, 2010 5:09 PM To: users@wicket.apache.org Subject: Validation errors Hi I have problems with FormValidation.

Validation errors

2010-01-21 Thread Riccardo Trombini
Hi I have problems with FormValidation. Everything works perfect till Wicket has to promt the Errormessages. Something with the localization went wrong, instead of the message I receive : "[ValidationError message=[null], keys=[error.SolrConnectionFault], variables=[null]]" I use a Feedbac

AW: Show Validation Errors

2009-09-30 Thread Peter Arnulf Lustig
Thank you! That does it! - Ursprüngliche Mail Von: Matthias Keller An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 10:23:11 Uhr Betreff: Re: Show Validation Errors Hi Peter Try adding a FeedbackPanel to your page Without that, wicket doesn't even

Re: Show Validation Errors

2009-09-30 Thread Matthias Keller
Hi Peter Try adding a FeedbackPanel to your page Without that, wicket doesn't even know where and how to display the messages. Matt Peter Arnulf Lustig wrote: Hi, I am trying to show validation errors on a page. Somehow it won't function! But I don't understand why? I

Show Validation Errors

2009-09-30 Thread Peter Arnulf Lustig
Hi, I am trying to show validation errors on a page. Somehow it won't function! But I don't understand why? I mean I am using the right Validation class... Why don't wicket show any error when the user does a wrong input? Thanks! import java.ut

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-12 Thread Nicolas Melendez
Here is the URL of the ListView: http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/list/ListView.html - NM On Thu, Jun 11, 2009 at 10:11 PM, Jen Van Orman wrote: > Igor, > > Thank you; this makes sense now, it was a matter of getting straightened > out > on

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Igor, Thank you; this makes sense now, it was a matter of getting straightened out on the real problem (the list view) instead of focusing on the radio group as the problem. I appreciate your help very much! Jen P.S. And it always helps to look at the most recent version of the javadoc ;) On

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
the problem is not the radiogroup, it is the listview. listview has a section in its javadoc that talks about this - have a look there first and feel free to come back here with any further questions. -igor On Thu, Jun 11, 2009 at 12:47 PM, Jen Van Orman wrote: > Thank you!  setReuseItems(true) w

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Thank you! setReuseItems(true) was the ticket! Can you please explain the wicket concept behind this feature? It seems that most other input types automatically retain information if the page is rerendered; How is the radio button different? Just trying to understand for future reference! Than

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
are radios in a listview? did you call setreuseitems(true)? -igor On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Orman wrote: > Hello everyone, > > I have a radio group and if the form validation fails on submit, the > selection is lost.  When the page re-renders, the bound value is "null". > > How ca

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Radios are in a listview, and I will try setreuseitems(true). Thank you! Jen On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg wrote: > are radios in a listview? did you call setreuseitems(true)? > > -igor > > On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Orman > wrote: > > Hello everyone, > > > > I

Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Hello everyone, I have a radio group and if the form validation fails on submit, the selection is lost. When the page re-renders, the bound value is "null". How can I insure that the selected value is retained if form validation fails? Thanks much for your help, Jen Van Orman -- Quis custodi