Rene O created RF-12233:
---------------------------
Summary: [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
If you rerender a table with render="testTable@header testTable@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@header testTable@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