Oh! I tried something on a lark and it worked:
On Wed, Feb 17, 2010 at 10:34 PM, <[email protected]> wrote: > 2. Inside that HTML panel, I load some HTML and JavaScript. I expose > to the contained JavaScript (via JSNI) a GWT function which, when > called, creates a Button and returns the .getElement() of the Button. If I have this function, when it creates the Button, add the GWT Button object to some *other* GWT Panel before returning the .getElement(), the effect is that: a. The UI of the Button shows up correctly according to where the JavaScript code laid it out via the .getElement(), and b. The functionality of the Button works correctly in that it can now be clicked. Hm. Ihab -- Ihab A.B. Awad, Palo Alto, CA -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
