Thanks for figuring this out.

I had the exact same problem.

If you look at the JSF book by Kito Mann, p 26, it shows an <h:outputText .../> 
wrapped in an
<h:outputLabel.../> which is unnecessary (overall, it's a good book).

Thanks again.

Mike



--- Michael Heinen <[EMAIL PROTECTED]> wrote:

> Thanks a lot for your help.
> Now it works of course :-)
> 
> 
> -----Original Message-----
> From: Mario Ivankovits [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 17. Februar 2006 11:58
> To: MyFaces Discussion
> Subject: Re: display label in error message instead of id
> 
> Hi!
> 
> Ok, I found a problem if one uses outputText as child of outputLabel.
> Its fixed now.
> 
> As a workaround now you can get rid of outputText and use the value=
> attribute in outputLabel directly.
> 
> eg.
>                 <h:outputLabel for="input" value="label" />
>                 <h:inputText id="input" required="true" />
> 
> Ciao,
> Mario
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to