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

Reply via email to