cancel
Showing results for 
Search instead for 
Did you mean: 

Accesing the key value in DropDownByKey

Former Member
0 Kudos

Hello experts,

I have a WD View with a DropDownByKey UIElement that was dynamically populated with their keys/labels, when the action button is pressed I need to get and send the Key value of the selected item to a java class, I would like to know how can I access that Key value.

Coding example will be appreciated.

Thanks in advance.

JV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yup, just do a simple:

wdContext.currentYOURNODEnode.getATTRIBUTENAME( );

thats it.

Regards.

Julio

Former Member
0 Kudos

Hey Julio, thanks.. I tried that, I'm just coding few more things before deploy, I'll let you know if that worked out..

Cheers mate!

Answers (1)

Answers (1)

Former Member
0 Kudos

The selected key is stored in the context attribute to which the "selectedKey" property is bound.

Armin