Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Data Binding to JComboBox
Data Binding to JComboBox [message #1384783] Sun, 01 June 2014 13:45 Go to next message
joe key is currently offline joe key
Messages: 1
Registered: June 2014
Junior Member


I am quite confused as I dont understand following problem concerning data binding in Eclipse using WindowBuilder:

1) Eclipse installed:

Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 2

Build id: 20120216-1857

2) WindowBuilder installed:

Eclipse 3.7 WindowBuilder

Repo - http://download.eclipse.org/windowbuilder/WB/release/R201309271200/3.7/

3) My problem: I am trying to bind data in my application based on informations provided on page: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.wb.doc.user%2Fhtml%2Findex.html

(A) If I implement the binding with JList, it works as described in doc above. BUT if I do the same setup for JComboBox I can see result string of toString() method in JComboBox. BINDING=JComboBinding. This is probably OK until now.

(B) BUT if I do same setup but using EL Expression ${name} [${nrItems}] (in order to get desired info for combo box) the result is empty. In this case BINDING=Autobinding and no data is available in gui.

Before I post the code or more info on this topic, maybe somebody can identify the problem out of this description.

I appreciate all hints or ideas as well as resources on this topic.

BR Joe
Re: Data Binding to JComboBox [message #1384843 is a reply to message #1384783] Mon, 02 June 2014 13:31 Go to previous message
Eric Clayberg is currently offline Eric Clayberg
Messages: 873
Registered: July 2009
Location: Boston, MA
Senior Member
No idea. Are you able to get it working via hand coding?

I would suggest posting a complete (simple) example of what you are trying to do.
Previous Topic:Windows Builder erro in mac
Next Topic:JFace Automatic Databinding; Class does not exist error
Goto Forum:
  


Current Time: Sun Oct 26 03:41:52 GMT 2014

Powered by FUDForum. Page generated in 0.01580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software