on 07-26-2006 11:05 AM
Hi All,
I have a table and two webservices.On the basis of certain search criteria,the table will get populatedwith data.
In the search screen i am passing values to both the webservices. Then in return my table is getting populated with data from both the webservices.
For this sake I have created a value node with value attribites according to the number of fields required for the table.
I have one column as a requirement as a link.I am binding this value node to the table and then the table is ready for the data incoming.
But the column LINK is not related to any webservices.
The LINK has the record "click to view".
The text click to view should be disabled for the row or the data coming from one webservice and should be enabled for the other.
While binding the table with the value node , I am setting the editor as linkToURL and binding property as enabled.
Then in the program I am setting it false for one for loop which is responsible for one webservice and otherwise for the other.
Kindly help me .Looking forward to you.
Regards
DK
Please don't post the same question in different threads.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What problem you are facing?
Kind Regards
Mukesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for(int i=0 ; i< this.wdContext.nodeA().size() ; i++){
IPrivateSearch_View.IInfoElement ele = wdContext.nodeInfo().createInfoElement();
ele.setAmou(wdContext.nodeA().getAElementAt(i).getAMO());
ele.setCurr(wdContext.nodeA().getAElementAt(i).getCUR());
ele.setLink("Click to view");
}//This is for One Webservice.
//Like wise i do for the other webservice and the looping is done according to the other webservice struturesize.
// Link is a local attribute as mentoned before of type string.
Hi,
Create the Enable property with the Table Node
Try This
IPrivateSearch_View.IInfoNode node=wdContext.nodeInfo();
for(int i=0 ; i< this.wdContext.nodeA().size() ; i++){
IPrivateSearch_View.IInfoElement ele = wdContext.nodeInfo().createInfoElement();
ele.setAmou(wdContext.nodeA().getAElementAt(i).getAMO());
ele.setCurr(wdContext.nodeA().getAElementAt(i).getCUR());
IPrivateSearch_View.IInfoElement newele = node.getElementAt(i);
ele.setLink("Click to view");
if(check){
newele.setEnabled(true);
}else{
newele.setEnabled(false);
}
}
Kind Regards
Mukesh
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.