Skip to Content
Former Member
Aug 23, 2005 at 09:14 AM

Accessing the data of Table and manipulating it



I've a table which returns data from RFM, on the basis of data I've to get checkboxes check/unchecked.

The ModelNode is of following type:





Now based on the value returned by EventValue i'll check the values of 2 checkBoxes.

The context for the view is



| |-EventID

| |-EventValue



I've binded my table with EventID, EventValue, Check1 and Check2.

Now on the basis of each rows returned under the EventID & EventValue, I'll have to put the check or uncheck values in the table.

I'm using following code:

for(int i = 0;wdContext.node<model>.size();i++)


if(wdContext.node<model_input>.getEventValue equals("2")






But this code is not validating the condition. and puts all the checkboxes as true and false respectively.

So for data under the EventValues have to be read and for each of them i've to give appropriate checks.. how do i do that

Say the table return looks like this:

EventId EventVal Check1 Check2

Volume 2 true true

Weight 1 false true... and so on.

Can somebody provide solution for it.

Thanks in advance