Hi folks, I'm trying to put some GWT components (say, a Button) embedded deep within some arbitrary HTML that is itself inside an HTML panel. I am doing this programmatically. Are there specific issues I need to be aware of? Here is the scenario:
1. I create some GWT component which contains an HTML panel. 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. 3. The JavaScript inside the HTML panel calls the provided GWT function, getting back a plain HTML element representing the Button that was created by GWT. 4. The JavaScript inside the HTML panel then adds this HTML element to its *own* DOM hierarchy. The effect I see is that the Button is visible and can be pressed, but a clickHandler added to the button by the GWT code does not fire. 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.
