Hi,
I have a Value Node (NodeA) and a Value Attribute (AttributeA). The attribute is of type SimpleType stored in the local dictionary.
Cardinality 1..n
Selection 1..n
singleton true
In my view I have a TableView with 2 columns. Column 1 is mapped to AttributeA of NodeA, which is a dropdown.
In my View doInit() method I have the following code:
for( int i = 0; i <= 5; i++)
{
IPrivateNameofView.INodeAElement newElement =
wdContext.createNodeAElement();
newElement.setAttributeA("");
wdContext.nodeNodeA().addElement(newElement);
}
The TableView shows up with 5 rows and dropdowns in each row.
The problem is when I make a selection in the drop down in row1 and select row3 the element selected in Row1 dropdown gets shown for all drop downs in all 5 rows.
Any suggestions would be appreciated.
~NAC