On 1/9/06, Marco <[EMAIL PROTECTED]> wrote:

> I have an input text, Its value is binded to a double property in a managed
> bean.
>
> And if the input was not a number the following error message is displayed
>
> "budget": Specified value is not a valid number.
>
> But i want to override this message, so what should i do ?

I know you can override the standard messages by adding messages to
your application's resource bundle under the correct key.  The message
you mentioned is coming from the same bundle[0] containing the
standard messages, so I assume it would work the same way.  Try adding
this key to your application's resource bundle, with a different
message.

javax.faces.convert.DoubleConverter.CONVERSION_detail = "{0}":
Specified value is not a valid number.

[0]
<http://svn.apache.org/repos/asf/myfaces/impl/trunk/src/main/resources/javax/faces/Messages.properties>

--
Wendy

Reply via email to