Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.2.10-core
-
None
-
None
-
I have jboss 4.2.3 jre6 iI'm using trinidad 1.2.10
Description
When I'm tring to display custom validation message in jsp which in located in tr:table it is not displayed, but outside table it is
as I see bug is in tr:message tag because when i replace it with h:message it works.
code:
<tr:table value="#
" var="task" id="taskId"
varStatus="taskStat" emptyText="No task found">
........
<tr:column align="center">
<f:facet name="header">
<tr:outputText value="Save" />
</f:facet>
<tr:commandLink text="save" id="savetask"
actionListener="#
">
<f:facet name="extraParameter">
<f:param name="commandLinkParamCode" value="#
" />
</f:facet>
</tr:commandLink>
</tr:column>
.........
<tr:column>
<tr:message for="savetask"/>
<%-- <h:message for="savetask" style="color:Red;" /> --%>
</tr:column>
</tr:table>
I'm putting message in facescontext this way
facesContext.addMessage(link.getClientId(facesContext),
new FacesMessage(FacesMessage.SEVERITY_ERROR, errormessage, null));