[richfaces-issues] [JBoss JIRA] (RF-12233) [rich:extendedDataTable] html-render bug after rerendering of column header
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Thu May 17 18:14:18 EDT 2012
[ https://issues.jboss.org/browse/RF-12233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12233:
-------------------------------
Fix Version/s: 4.Future
> [rich:extendedDataTable] html-render bug after rerendering of column header
> ---------------------------------------------------------------------------
>
> Key: RF-12233
> URL: https://issues.jboss.org/browse/RF-12233
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.1.Final
> Reporter: Rene O
> Fix For: 4.Future
>
> Attachments: table_layout_bug.PNG, table_layout_ok.PNG
>
>
> If you rerender a table with render="testTable at header testTable at body" (see example below and attached screenshot), then a layout bug occurs. If you rerender the complete table (render="testTable"), everything looks good.
> {code:title=sample.xhtml}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich"
> >
> <h:head>
> <title>JSF Test</title>
> </h:head>
> <h:body>
> <h:form id="testForm">
> <rich:extendedDataTable id="testTable" >
> <f:facet name="header">
> <a4j:commandLink id="reset" value="reset" render="testTable at header testTable at body" execute="@this" immediate="true" />
> </f:facet>
> <rich:column width="55px" id="aaaCol">
> <f:facet name="header">
> <h:outputText value="" />
> </f:facet>
> aaa
> </rich:column>
> <rich:column width="55px" id="bbbCol">
> <f:facet name="header">
> <h:outputText value="bbb" />
> </f:facet>
> bbb
> </rich:column>
> </rich:extendedDataTable>
> </h:form>
> </h:body>
> </html>
> {code}
> {code:title=html-snippet before click on 'reset'}
> <td>
> <div class="rf-edt-rsz-cntr rf-edt-c-aaaCol" style="">
> <div class="rf-edt-hdr-c rf-edt-c-aaaCol" style="height: 20px;">
> </td>
> {code}
> {code:title=html-snippet after click on 'reset'}
> <td>
> <div class="rf-edt-rsz-cntr rf-edt-c-aaaCol">
> <div class="rf-edt-hdr-c rf-edt-c-aaaCol">
> </td>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list