Oh, that was it! Please open an issue on that - I didn't think about embedded outputText components when I implemented this solution, obviously ;).
regards, Martin On 2/18/06, Mike Duffy <[EMAIL PROTECTED]> wrote: > 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 > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

