on 04-25-2009 7:18 AM
Hi experts,
How to get current lead selection value in a node ?
Thanks,
kiran
Hi,
wdContext.node<ur node>.current<nodeElement>; gives the lead selected value ..
please give elaborate ur query ..
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
For lead selection you can use wdContext.node<name>().current<name>Element().
You can also verify if there is any value lead selected in the current node, e.g to check if any value is selected in a dropdown A which is bound to context node DrpDN you may use the below line of code:
if(wdContext.nodeDrpDN().currentDrpDNElement() == null) {show error}
or
if(wdContext.currentDrpDNElement() == null) {show error}
Both the lines above work in same manner.
Hope this helps!!
Cheers,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ravi.
You will get lead selection of table node.then you have do one thing.push the table Push button(left hand side of table with row)
suppose value node is--table
int lead=wdcontext.nodeTable().getLeadSelection();
this code is wriiten any action method you will gwt the current lead selection.
action method is clickTable assign to onAction property of button like Click..
onActionClickTable(event){
int lead=wdcontext.nodeTable().getLeadSelection();
iwdMassageManager msg=WdComponentApi().getmassageManager();
msg.reportSuccess("klead'+lead);
}
Click on Button and it will se the massge.
thanks
jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi K ravi Kiran
IWDNodeElement IWDNode.getCurrentElement(),
int IWDNode.getLeadSelection().
For more information check this link
http://help.sap.com/saphelp_nwce10/helpdata/en/f1/94384162316532e10000000a1550b0/content.htm
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.