SO it says it is Loading the Properties file in the debug messages I have the key as pattern =${label} is not a valid zip but it still shows the regular expression should i try ${pattern} = zip is invalid ?? Good work on getting I.5.3 released
Martin Grigorov-4 wrote: > > Enable DEBUG logging for > org.apache.wicket.resource.loader.ComponentStringResourceLoader and > see whether your .properties file is asked at all. > > On Mon, Nov 14, 2011 at 10:44 AM, <anant.asty@> wrote: >> I tried that it still does not work for some reason I have >> VendorPage.class VendorPage.html 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 14, 2011 1:09 AM >> >> Hi, >> >> On Mon, Nov 14, 2011 at 8:50 AM, anantasthana <anant.asty@> 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 to validate zip code so i want the >>> message >>> to say ... is not a valid zip >>> I dont know if i am doing smoe thing wrong or missing some thing but i >>> can >>> not get the message to display correctly. >>> Thanks >> >> Create file VendorPage.properties and put it next to VendorPage.html >> (make sure it is copied next to VendorPage.class at build time) and >> put a line like: >> pattern = ${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. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@.apache >>> For additional commands, e-mail: users-help@.apache >>> >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> >> >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@.apache > For additional commands, e-mail: users-help@.apache > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-Error-Validation-messages-tp4038582p4040652.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