Mike, You'll need to use the extended messages (t:message/t:messages) components for this to work.
You can use the standard (that means h:inputXYZ) input components, though. regards, Martin On 1/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > If you use the Myfaces Tomahawk components (t:inputXYZ), then the > label will be used instead of the id if specified. > > On 1/9/06, John Holland <[EMAIL PROTECTED]> wrote: > > I ran into this problem also but I didn't want the id to be displayed > > but something more user friendly (like the label). Apparently Oracle's > > ADF allows you to specify a Label for error messages (so they make > > sense) but MyFaces does not. > > > > The only way I've found to work around this is to use a custom > > converter, which is horrible. > > > > -----Original Message----- > > From: Claudio Tasso [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 09, 2006 4:21 PM > > To: MyFaces Discussion > > Subject: Re: Overriding error message... > > > > Marco ha scritto: > > > > > 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 ? > > > > > > Thanks > > > > Create a text file, for example org.apache.Messages.properties", like > > this: > > > > javax.faces.component.UIInput.CONVERSION=My custom message > > > > Then, modify your faces-config.xml: > > > > <application> > > <message-bundle>org.apache.Messages</message-bundle> > > </application> > > > > For more information, look at JSF spec documentation: everything is > > explained. > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

