Hello Experts,
Using NWDS 7.0.18
I implemented the TableFilter utility and had 3 context nodes as such for it (standard implementation)
FilterNode
SourceNode
TableNode
Now I added a drop down by index as the first column to the table, so now my Table node looks like this
TableNode
DDBINode
ddbiattr
tableattr1
tableattr2
The DDBINode is non-singleton so that each selected value in the table row acts independent. I had this node outside under the root Context and then whenever I selected a value, all the rows in the table would get populated with the same value. So I moved it inside TableNode.
But now when the TableFilter method gets called under wdDoModifyView under the firstTime condition I get the following runtime exception:
java.lang.IllegalArgumentException: attributeInfo must not be null
at com.sjm.wdp.utils.TableFilter$NodeElementByAttributeComparator.<init>(TableFilter.java:839)
at com.sjm.wdp.utils.TableFilter$NodeElementByAttributeComparator.<init>(TableFilter.java:829)
at com.sjm.wdp.utils.TableFilter.setFiltersForColumns(TableFilter.java:160)
at com.sjm.wdp.utils.TableFilter.init(TableFilter.java:91)
at com.sjm.wdp.utils.TableFilter.<init>(TableFilter.java:59)
Please help!!
Marshall.