You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Natela Gdzelishvili (JIRA)" <de...@myfaces.apache.org> on 2009/03/18 10:41:50 UTC

[jira] Created: (TRINIDAD-1429) tr:message is not displayed when it is used in tr:table

tr:message is not displayed when it is used in tr:table
-------------------------------------------------------

                 Key: TRINIDAD-1429
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1429
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.10-core
         Environment: I have jboss 4.2.3 jre6 iI'm using trinidad 1.2.10
            Reporter: Natela Gdzelishvili


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="#{bean.taskList}" 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="#{bean.addOrEditTask}">
							<f:facet name="extraParameter">
								<f:param name="commandLinkParamCode" value="#{task}" />
							</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));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.