Hi,
On Mon, Nov 14, 2011 at 8:50 AM, anantasthana <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]