cancel
Showing results for 
Search instead for 
Did you mean: 

How To Pass Data To The Back-End.

Former Member
0 Kudos

Hi All,

I want to send data to the back-end from a view,I have inputed the data in different rows of a table & I want to send the data to the back-end on the event of a click of a button tables respective of their columns in the back-end table.

View Entire Topic
Former Member
0 Kudos

Hi ,

For sending data to back end on click of button you can use this peace of code

Here Test is a value node which we can bind with Table.

int valueNodeSize=wdContext.nodeTest().size();

for(int i=0;i<valueNodeSize;i++){

IPrivateCheckView.ITestElement valueEle=wdContext.nodeTest().getTestElementAt(i);

//=================Create Model Node Element===================

IPrivateCheckView.IModelElement modelEle=wdContext.nodeModel().createModelElement();

modelEle.setAddress(valueEle.getAddress());

modelEle.setName(valueEle.getName());

wdContext.nodeModel().addElement(modelEle);

}

Regards

Trilochan