| Author |
getting label of selectonemenu by findcomponent
|
ihsan kocak
Greenhorn
Joined: Mar 14, 2012
Posts: 28
|
|
hi, i should access a selectonemenu's selected item's label, i can get value but what about label?
Regards.
|
 |
Brendan Healey
Ranch Hand
Joined: May 12, 2009
Posts: 218
|
|
I think this will do it:
UIComponent comp;
comp = ... findComponent ...
String label = (String) comp.getAttributes().get("label");
Regards,
Brendan.
|
 |
 |
|
|
subject: getting label of selectonemenu by findcomponent
|
|
|