Skip to Content
0
Former Member
Nov 28, 2006 at 04:46 AM

Urgeny : Not able to add subnode Drop Down to table

29 Views

Dear WebDynPro Gurus

I am facing a issue of populating subnode currency to Table

The requirement is for NewExpenseView to create table with columns as

1. Amount

2. Currency (Drop Down)

3. Date

Steps followed

1. Created UI Table with I/P fields for Amount, Date and Selection Drop Down for Currency.

2.Created advanceTable in context with Value attribute for Amount , Date and Value node for Currency.

Code used to add the row in the table.

IPrivateNewExpenseView.IAdvanceTableElement advRowElement;

advRowElement = wdContext.nodeAdvanceTable().createAdvanceTableElement();

wdContext.nodeAdvanceTable().addElement(advRowElement);

IPrivateNewExpenseView.IAdvanceCurrElement elAdvCurr;

wdContext.nodeCurr().moveFirst();

int currSize = wdContext.nodeCurr().size();

for(int i = 1; i <= currSize; i++)

{

elAdvCurr = wdContext.nodeAdvanceCurr().createAdvanceCurrElement();

elAdvCurr.setCurrId(wdContext.currentCurrElement().getId());

elAdvCurr.setCurrValue(wdContext.currentCurrElement().getId());

<b>//advRowElement..addElement(elAdvCurr); //Node is not getting when typed '.'

//advRowElement</b>.

wdContext.nodeCurr().moveNext();

}

Issue:

I am not able to add Currency Node values to advRowElement.