[richfaces-issues] [JBoss JIRA] Commented: (RF-4430) Content of dataTable cells disapears after reRendering rich:column
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Fri Dec 5 04:31:36 EST 2008
[ https://jira.jboss.org/jira/browse/RF-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441338#action_12441338 ]
Ilya Shaikovsky commented on RF-4430:
-------------------------------------
workaround : could be done by using reRendering of cells content instead.
> 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
> Assignee: Ilya Shaikovsky
> Fix For: Wishes
>
>
> 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)
> <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.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>
--
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