>From Wicket in Action, chapter 7:

A failed conversion will be registered as a validation error using the
resource key (for the feedback message) 'IConverter' and
'IConverter.<typename>' (substitute the type name with the conversion type,
such as Long or ZipCode).


Martijn

On Nov 22, 2007 10:18 AM, carloc <[EMAIL PROTECTED]> wrote:

>
> Hi Guys,
>
> I would like to ask help on something.
> I have a text box which accepts the field which is supposed to be a
> double.
> everytime that a user enters a field that isn't a double the error message
> 'Field is not a valid double' appears. However I want it to display a
> different error message this time. I'm having trouble fixing it.
> How I can I make it display that 'Field is not a valid amount' ?
>
> Thanks a lot.
> --
> View this message in context:
> http://www.nabble.com/Conversion-Error-Messages-tf4855219.html#a13893418
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Reply via email to