on 04-09-2010 10:08 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.