on 09-12-2008 6:58 AM
Hi,
In my application,i have a dropdown key called group .For this am getting the value, country key.When i select the country key, i am getting the values in the inputfield named as state, based on the selected country. When i select another country the values of first country also added with the second country key in the state field
How can i clear the first country when i select the second time?
Regards,
Kiruba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
wdContext.currentContextElement().set<inutfield value attribute>("");
OR
refresh the node by using wdcontext.node<yournode>.invalidate();
hope it will help u.
Regards
vineela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
I have tried this,but the is not clearing.
reg
Kiruba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do I understand correct... you have a DropDownBox and a InputField. Everytime you select something in the DDB you want to show the text in the input field. In the onSelect Action you read the text as follows:
wdContext.currentContextElement().set<yourInputFieldAttribute>(wdContext.<yourDropDownNode>().getXXX();
Reg.,
Martin
Hi,
try to invalidate the context node where you save the countries and display them (in the onSelect Action of the DropDownBox).
wdContext.node<yourNodeName>().invalidate();
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.