Probably I found the problem: I have a main tile that use the t:messages tag before the tile:insert of the page generating the messages.
When the first time the method getOutputLabelMap of HtmlMessageRenderer is called, does not resolve the value. If I move the t:messages after the tile:insert does work correctly. May be a bug? Regards Mario ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 luglio 2007 13.33 To: [EMAIL PROTECTED] Subject: Problem with replaceIdWithLabel Hi, I'm using replaceIdWithLabel attribute in t:messages but the validation messages does not show the label (show the id). I'm using tiles: <t:outputLabel for="dataSinistro" value="#{bundle.dataSinistro}" /> <t:inputCalendar id="dataSinistro" value="#{ricerche$ricercaPolizzePage.dataSinistro}" required="true" /> <t:message for="dataSinistro" replaceIdWithLabel="true"/> <na:messages id="messageList2" replaceIdWithLabel="true" showSummary="true" showDetail="true" globalOnly="false"/> I have tried to debug HtmlMessageRenderer.findInputLabel method, and I see that when execute this step: MessageLabelInfo info = ((MessageLabelInfo)outputLabelMap.get(inputClientId)); The value of info.getText() is empty string (""). Is there any one can help me? Thanks Mario This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.