[
https://issues.jboss.org/browse/RF-12033?page=com.atlassian.jira.plugin.s...
]
Brett Williamson commented on RF-12033:
---------------------------------------
Another workaround is to render an extendedDataTable outside the tab panel with 0px height
so its hidden. Seems to allow correct render of datatables in the tab panel. This allows
to keep using client switch type.
ExtendedDataTable doesn't show up in tabpanel with
switchType="client"
----------------------------------------------------------------------
Key: RF-12033
URL:
https://issues.jboss.org/browse/RF-12033
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.2.0.Final
Environment: FireFox 10.0.2 (works in IE7)
GlassFish 3.1
Reporter: Josh Hill
Labels: lazy-loaded
Fix For: 5-Tracking
Attachments: richfaces-test.zip
ExtendedDataTable doesn't show up in tabpanel with switchType="client"
Facelet file from the attached testcase:
{code}
<?xml version='1.0' encoding='UTF-8' ?>
<!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:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title>Test One</title>
</h:head>
<h:body>
<p>Extended datatable inside tabpanel with switchType
"client"</p>
<h:form>
<rich:tabPanel switchType="client">
<rich:tab>
<f:facet name="header">
Tab One
</f:facet>
Tab One
</rich:tab>
<rich:tab>
<f:facet name="header">
Tab Two
</f:facet>
<rich:extendedDataTable value="#{colorsBean.colors}"
var="color">
<rich:column>
<f:facet name="header">
Column 1
</f:facet>
#{color}
</rich:column>
</rich:extendedDataTable>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira