incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud MERGEY <>
Subject Use af:iterator
Date Wed, 31 May 2006 14:07:32 GMT

how to use af:iterator in af:table ? (I have dynamic columns)

With a code like following, I have a ClassCastException on line 451 of 
TableRenderer object. I have checked source code 
 "CoreColumn column = (CoreColumn) children.get(i);" children.get return 

<af:table banding="row" value="#{list.objectInstances.arrayObject}" 
        width="100%" emptyText="no data" rendered="#{list.rendered}"
        <af:iterator value="#{list.tabs.arrayObject}" var="property">

Another dynamic columns number in table works perfecttly with af:forEach 
but in this one I must use iterator because I use component-managed EL 
variable and af:ForEach doesn't work.

Maybe my iterator usage is wrong or maybe it is an iterator bug ?

thanks for help

View raw message