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.

Reply via email to