Re: Validation messages from properties file not working.

2017-08-24 Thread Entropy
fectly. I change it to a web markup container or > hiddenfield, > > and it fails to find the message. Same name, same code doing the > validation > > and the adding of the validation key. > > > > I tried a TextField with visibility set to false and that didn't even > show &

Re: Validation messages from properties file not working.

2017-08-23 Thread Sven Meier
hich makes sense). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-messages-from-properties-file-not-working-tp4678575p4678588.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
of the validation key. I tried a TextField with visibility set to false and that didn't even show the error (which makes sense). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-messages-from-properties-file-not-working-tp4678575p4678588.html Sent from the Users

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
quired. Please complete it > to > > continue. > > > > Where we add the key (in an abstractformvalidator): > > ((WebMarkupContainer) form.get("wmcCaptchaError")).error(new > > ValidationError().addKey("CaptchaRequired")); > > > > Ideas? >

Re: Validation messages from properties file not working.

2017-08-23 Thread Martin Grigorov
((WebMarkupContainer) form.get("wmcCaptchaError")).error(new > ValidationError().addKey("CaptchaRequired")); > > Ideas? > > > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/Validation-messages-from-p

Validation messages from properties file not working.

2017-08-22 Thread Entropy
ired")); Ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-messages-from-properties-file-not-working-tp4678575.html Sent from the Users forum mailing list archive at Nabble.com. - To

Validation messages go missing in ajax form example

2013-05-03 Thread Taro Fukunaga
: no validation error messages are shown. Now I no longer get validation messages whenever I click the button. Workaround: Erase the text for the name field and click the submit via ajax button. Then type aaa. The validation message appears again. Is this a known issue and what can I do to fix

Re: Validation messages go missing in ajax form example

2013-05-03 Thread Sven Meier
: no validation error messages are shown (not even for the email). 3) I type aaa again and click submit via ajax button. Result: no validation error messages are shown. Now I no longer get validation messages whenever I click the button. Workaround: Erase the text for the name field and click

Re: Customizing Error / Validation messages

2011-11-15 Thread Igor Vaynberg
- ponentStringResourceLoader - key: 'zip'; class: 'com.aspen.web.html.vendor.VendorEditPage'; locale: 'en_US'; Style: 'null'; Variation: 'null' -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-Error-Validation-messages-tp4038582p4040704.html Sent from the Users

Re: Customizing Error / Validation messages

2011-11-15 Thread anant . asty
Thanks that workes perfectly -Original Message- From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 15 Nov 2011 07:20:44 To: users@wicket.apache.org Reply-To: users@wicket.apache.org Subject: Re: Customizing Error / Validation messages the javadoc says the key to use

Re: Customizing Error / Validation messages

2011-11-14 Thread Martin Grigorov
= ${label} is not a valid zip -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-Error-Validation-messages-tp4038582p4038582.html Sent from the Users forum mailing list archive at Nabble.com

Re: Customizing Error / Validation messages

2011-11-14 Thread anant . asty
Thanks I will try that. --Original Message-- From: Martin Grigorov To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: Re: Customizing Error / Validation messages Sent: Nov 14, 2011 1:09 AM Hi, On Mon, Nov 14, 2011 at 8:50 AM, anantasthana anant.a...@gmail.com wrote

Re: Customizing Error / Validation messages

2011-11-14 Thread anant . asty
Grigorov To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: Re: Customizing Error / Validation messages Sent: Nov 14, 2011 1:09 AM Hi, On Mon, Nov 14, 2011 at 8:50 AM, anantasthana anant.a...@gmail.com wrote: I am using pattern validator and i on a page named VendorPage and have

Re: Customizing Error / Validation messages

2011-11-14 Thread Martin Grigorov
: Customizing Error / Validation messages Sent: Nov 14, 2011 1:09 AM Hi, On Mon, Nov 14, 2011 at 8:50 AM, anantasthana anant.a...@gmail.com wrote: I am using pattern validator and i on a page named VendorPage and have a properties file with keys pattern= Zip I am using the pattern validator

Re: Customizing Error / Validation messages

2011-11-14 Thread anantasthana
and VendorPage.properties Containing pattern = ${label} is invalid zip. It still shows me the default message. Am I missing a step or doing some thing wrong? --Original Message-- From: Martin Grigorov To: users@.apache ReplyTo: users@.apache Subject: Re: Customizing Error / Validation messages Sent: Nov

Re: Customizing Error / Validation messages

2011-11-14 Thread anantasthana
' -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-Error-Validation-messages-tp4038582p4040704.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Customizing Error / Validation messages

2011-11-13 Thread anantasthana
not get the message to display correctly. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-Error-Validation-messages-tp4038582p4038582.html Sent from the Users forum mailing list archive at Nabble.com

Validation messages for required fields using form id

2011-03-24 Thread mwilber
.1842946.n4.nabble.com/Validation-messages-for-required-fields-using-form-id-tp3403212p3403212.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Validation messages for required fields using form id

2011-03-24 Thread mwilber
Would it be true that the entire form id from the page level down is needed? tabs.panel. for instance? That seems to work. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validation-messages-for-required-fields-using-form-id-tp3403212p3403612.html Sent from the Users

Re: Validation messages for required fields using form id

2011-03-24 Thread Martin Grigorov
in context: http://apache-wicket.1842946.n4.nabble.com/Validation-messages-for-required-fields-using-form-id-tp3403212p3403612.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Localizing validation messages

2010-11-26 Thread Josh Kamau
Hi there I have a very simple question How do i localize/i18n a message like is 'sdfasdf' not a valid Integer. It doest fall under any of the validators that i know e.g Required, NumberValidator.Range. etc regards. Josh

Validation Messages

2010-06-07 Thread Brian Mulholland
This is probably a stupid question, but when I set up a validation like required or a custom validator, I want the label in the message to reflect a value other than the Id of the component. How can I set that to a value I'd prefer? Brian Mulholland

Re: Validation Messages

2010-06-07 Thread Igor Vaynberg
first call setlabel on your formcomponent with the value that you want to show up, then in the error message template use ${label} variable. -igor On Mon, Jun 7, 2010 at 10:54 AM, Brian Mulholland blmulholl...@gmail.com wrote: This is probably a stupid question, but when I set up a validation

Wicket validation messages

2009-04-16 Thread adam . parchimowicz
Hey, I was browsing Wicket documentation and found the at some point you've changed the way that Wicket locates validation messages. Along with the change any javadoc comment informing how it is supposed to work disappeared (the latest found trace was 1.3.0 http://wicket.sourceforge.net

RE: Validation Messages

2008-10-22 Thread Kai Mütz
Igor Vaynberg mailto:[EMAIL PROTECTED] wrote: log4j.logger.org.apache.wicket.resource=DEBUG should do it afair. -igor On Tue, Oct 21, 2008 at 8:16 AM, Kai Mütz [EMAIL PROTECTED] wrote: Hi, I have some problems with validation messages. Normally I set my validation messages within

Re: Validation Messages

2008-10-22 Thread Igor Vaynberg
] wrote: Hi, I have some problems with validation messages. Normally I set my validation messages within the property files like this: Required='${label}' is required StringValidator.maximum='${label}' [...] ${maximum} [...] myform.myfield=My Field and got (as expected) 'My Field

Validation Messages

2008-10-21 Thread Kai Mütz
Hi, I have some problems with validation messages. Normally I set my validation messages within the property files like this: Required='${label}' is required StringValidator.maximum='${label}' [...] ${maximum} [...] myform.myfield=My Field and got (as expected) 'My Field' is required if I do

Re: Validation Messages

2008-10-21 Thread Igor Vaynberg
log4j.logger.org.apache.wicket.resource=DEBUG should do it afair. -igor On Tue, Oct 21, 2008 at 8:16 AM, Kai Mütz [EMAIL PROTECTED] wrote: Hi, I have some problems with validation messages. Normally I set my validation messages within the property files like this: Required='${label