Re: How to refer to a validator message for a textfield with a certain type

2016-02-12 Thread Lorne Malvo
Thanks Martin! So is a validator for, say a textfield with a certain type always referred to as "IConverter" in properties files? So, if I used the properties file next to my example class, say com.MyExample.properties, would my path look like:

Re: How to refer to a validator message for a textfield with a certain type

2016-02-12 Thread Martin Grigorov
Hi, On Fri, Feb 12, 2016 at 9:49 AM, Lorne Malvo wrote: > Thanks Martin! > > So is a validator for, say a textfield with a certain type always referred > to as "IConverter" in properties files? > > So, if I used the properties file next to my example class, say >

Re: How to refer to a validator message for a textfield with a certain type

2016-02-12 Thread Lorne Malvo
Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-refer-to-a-validator-message-for-a-textfield-with-a-certain-type-tp4673555p4673578.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to refer to a validator message for a textfield with a certain type

2016-02-11 Thread Martin Grigorov
Hi, Please see inline. On Thu, Feb 11, 2016 at 4:12 PM, Lorne Malvo wrote: > Say I have a TextField like so: > > TextField amountField = new TextField("someTextField", > someModel); > amountField.setType(Integer.class); > > Where can I customize the error message

How to refer to a validator message for a textfield with a certain type

2016-02-11 Thread Lorne Malvo
Say I have a TextField like so: TextField amountField = new TextField("someTextField", someModel); amountField.setType(Integer.class); Where can I customize the error message when the user enters a value other than an integer? I generate the id for this text field on the fly, so I can't specify