While developing widgets i stumbled about smth.
I liked to develop smth like the contextHelp addon but with the possibility to drop Components into the body of the help widget instead of strings.
While examining the source code of the CH-Addon i stumbled about the way how the addon creates the link between the help widget and the textfield, for example, the help should be shown relative to. The addon looks up the DOMTree for the debugid of a textfield(easier 2 read the source than explaining the hole thing).
For me it sounds strange using methods with names conaining the word debug. Second disadvantage is that you only get Elements not Widgets out of the DOM and so you cannot use methods like Popup.showRelativeTo(UIObject x).
Effect is, as shown in the addon one have to write window positioning code which is allready done in the gwt base.
I also didnt found smth better than CH did. now…
What i want to know is if there is a way to associate an GWT.UIObject with a Vaadin.Component on the client side?
Greets
Stefan