I got following problem with the comboviewer databinding in xwt.
I want to provide the user with a list of predefined items in the combolist but he should also be able to type some custom text into the viewer.
How can i realize this? (I don't care if i have to use comboviewer or just the combo-widget). When i use the selectionEvent i only get the selected text and null if he typed something custom.
I played around and achieved to get one thing running at a time but not both. I think this should work something like this:
Hi! Thanks for the reply. I played around a little bit and it seems that you are right with the class loader issue. In my experiments i had to set the XWT.setLoadingContext right and than it worked.
But not with my product code. There I inherit from the TitleAreaDialog and in the createDialogArea() method i load the composite simply with.
There it doesn't seem so easy and i don't understand this issue completely. Is there any Documentation about this. How would i provide the EventHandler in the options?
Which classloader should i provide in the DefaultLoadingContext?
Note the static initialization part which sets the default loading context of XWT to take advantage of the osgi class loading...
Your concrete UI class would just extend that AbstractXWTComposite and additionally define the event methods...