Hi all,
I've a dropdownListBox in my JSP servlet. How can I capture the Text select value without use "onSelect" option?
When I dissable the onSelect option, I can select one list entry but, when I try to read this value from my java class, using:
DropdownListBox ADRECA1 = (DropdownListBox) getComponentByName("ADRECA1");
System.out.println(ADRECA1.getOnSelect());
nothing appear.
Can any expert help me?
Thanks in advance,
David
See the API http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/htmlb/com/sapportals/htmlb/DropdownListBox.html
The getOnSelect method returns the javascript method assigned to when an element is selected.
What you are looking for is the getSelection method
Add a comment