How to get drop down list display values

I have binded my drop down list with tabledataprovider. In the value field i have given customer id and in display field i have given customer name. I have reatrived cust id but how to reatrieve customer name.
[230 byte] By [anikhindi] at [2007-11-26 10:09:37]
# 1

http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=56515

Also, if your dropdown list is bound to a data provider you can use something like this:

RowKey rowkey = tripDataProvider.findFirst("PERSON.PERSONID", dropDown1.getSelected());

String displayValue = (String)tripDataProvider.getValue("PERSON.NAME", rowkey);

jetsons at 2007-7-7 1:53:14 > top of Java-index,Development Tools,Java Tools...