What are you trying to do?

You can try:

popup.addAttachHandler(new AttachHandler() {
    void onAttach() {
        // Do your scripting here
    }
});

On Sat, Mar 12, 2011 at 2:15 PM, Deepak Singh <deepaksingh...@gmail.com>wrote:

> Hi,
>
> The src of an script return a form as UI and i want this UI to be shown in
> popup panel.
>
> ScriptElement script = Document.get.createScriptElement();
> script.set(.....)
>
> PopupPanel popup = new popuppanel();
> popup.getElement().appendChild(script);
> popup.center();
>
> This code does not work, instead the IE8 browser crashes executing this
> code.
> The above code is executed on click of  a link(Anchor).
>
> Pls let me know how to get this working.
>
> Thanks
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to