I found the issue during the creation of a small test project. It was caused by a not correctly migrated patch for the UIInput.class.
Michael -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jakob Korherr Sent: Dienstag, 22. Dezember 2009 17:05 To: MyFaces Discussion Subject: Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2 Hi Michael, I'm sorry, but I can not reproduce your problem. On my machine it is "User: Validierungsfehler: Eingabe erforderlich.". Can you please provide more information about your jsp. Regards, Jakob 2009/12/22 Michael Heinen <[email protected]> > Hi, > > I have another migration issue: > Error messages are rendered with the component ids instead of the label > after update from myfaces 1.1.6 to 1.2.8 and tomahawk to 12_1.1.9 > > jsp: > <h:outputLabel for="name" value="User"/> > <h:panelGroup> > <h:inputText id="name" value="#{MyController.name}" required="true"> > > Class > org.apache.myfaces.renderkit.html.ext.HtmlMessagesRenderer.getSummary(...) > contains following line (86): > > msgSummary = > msgSummary.replaceAll(HtmlMessageRenderer.findInputId(facesContext, > msgClientId),inputLabel); > > Content: > msgSummary= name: Validierungsfehler: Eingabe erforderlich. > HtmlMessageRenderer.findInputId(facesContext, msgClientId) returns > loginForm:name > inptutLabel= User > > So the problem is that findInputId returns the full qualified clientid > instead of the id. > This worked with the old 1.1 jars. > > Any ideas? > Michael >

