[richfaces-issues] [JBoss JIRA] Created: (RF-4430) Content of dataTable cells disapears after reRendering rich:column

Jonas Buechel (JIRA) jira-events at lists.jboss.org
Tue Sep 9 08:43:38 EDT 2008


Content of dataTable cells disapears after reRendering rich:column
------------------------------------------------------------------

                 Key: RF-4430
                 URL: https://jira.jboss.org/jira/browse/RF-4430
             Project: RichFaces
          Issue Type: Feature Request
    Affects Versions: 3.2.1
         Environment: IE7
            Reporter: Jonas Buechel


The following code works correctly in FF3 and chrome but not in IE7. A javascript error occurs on row click.
In order to fix this in my opinion it would make sense to implement the possibility to reRender rich:columnGroup as well (not only rich:column).
(another forum discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141675)
<pre>
<a4j:form>
	
	<rich:dataTable id="tableId" value="#{dataModel}" var="rowObject"
		ajaxKeys="#{dataModelManager.ajaxKeys}" rows="#{rowsDisplayed}" width="100%" cellpadding="0"
		cellspacing="0">

			<!-- Only columns with the given ids are beeing rerendered. -->
			<a4j:support event="onRowClick" action="#{dataModelManager.select}"
				reRender="nameId" />

		<f:facet name="header">
			<rich:columnGroup>
				<rich:column>
					<h:outputText value="#{messages.militaryRole_label_name}" />
				</rich:column>
			</rich:columnGroup>
		</f:facet>

			<rich:columnGroup>
				<rich:column id="nameId" styleClass="fwc-selectedrow-#{rowObject eq dataModelSelection}">
							<h:outputText value="#{rowObject.name}" />
				</rich:column>
			</rich:columnGroup>

	</rich:dataTable>

</a4j:form>
</pre>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list