You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ma...@daimlerchrysler.com on 2005/06/21 14:11:32 UTC
DataTable: Facets Bug
Hi all,
there seems to be a big bug in the dataTable component implementation.
If you use two dataTable components within each other the facets of the
inner table do not work correctly.
For example if you use a inputText component in the footer (of the inner
table) the value is not updated an no valueChangeListener is notified.
Here an example:
<f:view>
<html>
<body>
<h:form>
<h:dataTable id="outer" value="#{test}" var="outeritem">
<h:column>
<h:dataTable id="inner" value="#{outeritem}" var="item" >
.....
<f:facet name="header">
<h:inputText id="myinput"
valueChangeListener="#{testBean.listener}" />
</f:facet>
</h:dataTable>
</h:column>
</h:dataTable>
</h:form>
</body>
</html>
</f:view>
I have created a bug report with a possible solution at
http://issues.apache.org/jira/browse/MYFACES-288
Mathias Werlitz