getIndex from combo URGENT [message #11611] |
Fri, 23 March 2007 11:12 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: rhernandez_64.hotmail.com
I have a table persons with person_id and person__name how populate a
combo box with this and how get the person_id and person_name from combo
|
|
|
Re: getIndex from combo URGENT [message #11754 is a reply to message #11611] |
Fri, 23 March 2007 20:30 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jkrause.innoopract.com
Hi Rafael,
In CVS in the org.eclipse.rap.jface project you will find a new class
ComboViewer. You can use it just like a ListViewer and populate it with
arbitrary objects. Use a LabelProvider for displaying the content and
the getSelection method of the viewer to retrieve the selected object.
Jochen
Rafael Hernandez wrote:
> I have a table persons with person_id and person__name how populate a
> combo box with this and how get the person_id and person_name from combo
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03749 seconds