on 09-17-2008 11:06 AM
Hi Experts,
I am doing one application with one drop down and one text view .In drop down i have 50 values and if i select any of that 50 values i have to change values of text view. Please let me know how it is possible.
Regards,
Gurprit Bhatia
Ans.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u just map d same context value attribute to text property of textview which u have erlier mapped to drop down .
hpe it hlps
Regards
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create one method and bind it with dropdown "onselect" event and write code as follow.
public void onActionShowdetails(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
wdContext.current<valuenode>Element().set<ypur textview valueattribute(wdContext.currentcurrentElement().get<valuatribute of dropdown>());
}
Thanks
Abhilasha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurprit,
Use the onSelect action of the dropdown to give new value to the textview.
Regards,
Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.