Skip to Content
0
Jun 26, 2008 at 12:06 PM

Dynamically binding simpletype to a dropdownbykey??

10 Views

Dear All,

How to bind a existing simpletype to a dropdownbykey UI element?

I have set of simpletypes created and I want to assign them to dropdownbykey UI element ( statically created). How do I go about it?

Pls help. Can anybody give me sample code for this?

I am writing following code in my wdModifyView method:-

IWDDropDownByKey combs = (IWDDropDownByKey) view.getElement(<UI element ID>);

combs.bindSelectedKey(<simpletypename>);

But it is throwing context exception "Unknown child node"

regards,

Amey