on 10-15-2008 5:28 PM
Dear All,
Actually in my application ,user has to select values from item list box then he just adds into one input field.(he has selected the multiple values).Now how to get the values in input field.
One way what i thought is to check the node size if it is not null ,then input filed can be dyunamically created,but i am not able to do anything in this issue.
Please help me in this context.
this is urgent.Please guide me asap.
Regards,
Anu
HI,
You might have binded a context attribute to your input field. When the user clicks on the add button loop through the node and find all the values that are selected and keep on appending in the context binded to the input field context.
for(int i=0; i<wdContext.node<lbnode>().size();i++)
{
if(wdContext.node<lbnode>().isMultiselected(i) || wdContext.node<lbnode>().getLeadSelection)()==i)
{
wdContext.currentContextElement.set<inputContext>(wdContext.currentContextElement.get<inputContext>()" "wdContext.node<lbnode>().get<lbnode>ElementAt(i).get<attribte>();
}
}
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.