thanks, i know this property, but its not really my target to
edit all my pages and add to each inputfield the "requiredMessage".
i only want to remove the "formid:" !
no solution for this problem.
JSF1.2 has some really strange new features.
Simon Kitching wrote:
>
> j.palleschitz schrieb:
>> hi, in case of a required-field validation i get a message that starts
>> with
>> /formid:nameoffield: text of the validation/
>>
>> is it possible to customize the validation-messages only to
>> /nameoffield: text of the validation/ ???
>>
>> i have already defined a custom message in my message.properties, but
>> the {0}
>> return "formid:nameoffield".
>> (javax.faces.component.UIInput.REQUIRED={0}: you have to enter
>> something!)
>>
>> thats not really nice to read for the users.
>>
>> any ideas?
> In JSF1.2, every input component has an optional "requiredMessage"
> property. So you can do:
> <h:inputText id="userName" required="true" requiredMessage="You must
> enter a user name" ... />
>
> Regards,
> Simon
>
>
>
--
View this message in context:
http://www.nabble.com/h%3Amessages-validation-messages-without-formid---tp20010322p20010501.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.