Re: Error message stating something other than Value..

2005-09-08 Thread Martin Marinschek
Well, if you use the t:message Tag instead of the h:message Tag, instead of 

age: Specified value is not a valid number 

you will see: 

Age: specified name is not a valid number.

if there is a label existing for the inputText and this label reads Age

...which might be enough or not enough in your case ;)

regards,

Martin

On 9/7/05, Rick Reumann [EMAIL PROTECTED] wrote:
 At one point when I first looked at MyFaces I remember seeing a way to
 provide an arg so that a required message wouldn't read:
 
 name:Value is required.
 
 Instead I want to see Name is required
 
 Instead of age: Specified value is not a valid number.
 
 I'd like to see...
 
 Age must be a valid number
 
 Does MyFaces have a way to provides this? I couldnt' find anything
 here http://wiki.apache.org/myfaces/MyFacesComponents but might just
 be overlooking it.
 
 Thanks
 
 --
 Rick
 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German


Error message stating something other than Value..

2005-09-07 Thread Rick Reumann
At one point when I first looked at MyFaces I remember seeing a way to
provide an arg so that a required message wouldn't read:

name:Value is required.

Instead I want to see Name is required

Instead of age: Specified value is not a valid number.

I'd like to see...

Age must be a valid number

Does MyFaces have a way to provides this? I couldnt' find anything
here http://wiki.apache.org/myfaces/MyFacesComponents but might just
be overlooking it.

Thanks

-- 
Rick