Hi,
I am a beginner in ADF. I am trying to perform adf table row reordering. The table is placed inside an iterator. This is the jsf code which I am using.
<af:panelGroupLayout id="pgl1" layout="horizontal" valign="top"
binding="#{backingBeanScope.horizontal.pgl1}">
<af:iterator id="i1" value="#{bindings.PmpProductBacklogView1.collectionModel}" var="master"
binding="#{backingBeanScope.horizontal.i1}">
<af:panelHeader text="#{master.PbList}" id="ph1" size="1"
binding="#{backingBeanScope.horizontal.ph1}">
<af:panelGroupLayout id="pgl2" layout="vertical"
binding="#{backingBeanScope.horizontal.pgl2}">
<af:table var="row" rowBandingInterval="0" id="t1" value="#{master.PmpPbUserstoriesView}"
binding="#{backingBeanScope.horizontal.t1}">
<af:column sortable="false" headerText="#{bindings.PmpPbUserstoriesView3.hints.UserstoryDesc.label}" id="c1">
<af:outputText value="#{row.UserstoryDesc}" id="ot1"/>
</af:column>
<af:dragSource actions="MOVE" defaultAction="MOVE" discriminant="rowmove"/>
<af:collectionDropTarget dropListener="#{backingBeanScope.horizontal.handleDragNdroP}"
actions="MOVE"
modelName="rowmove"/>
</af:table>
</af:panelGroupLayout>
</af:panelHeader>
</af:iterator>
</af:panelGroupLayout>
But when executing this code I got an error
" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.List"
The same code is working fine the table row reordering without iterator.
Please help me to find out a solution...