This looks more difficult than I first thought.  I think I'd have to 
somehow also attach to the form element.  I would need to set the action to 
go to a servlet.  I don't see a way to take some HTML and get the FORM 
element.

I may try a completely different way to do this.  I'll create a servlet to 
get the form, display it, and handle the form submission.  The entire thing 
will be put in an iframe (GWT frame).

I think this may also be the only way to get some of our forms working that 
have Javascript in them.  It looks like the Frame class treats the document 
as completely independent from the app (and the RootPanel).

You need to subclass HTMLPanel and SubmitButton to get what you want. The 
> HTMLPanel only supports adding widgets to existing HTML elements, not just 
> make an Element into a widget without detaching.
>  
> First you need to subclass the SubmitButton so that you gain access to the 
> SubmitButton(Element) protected constructor. Use that constructor to create 
> the SubmitButton instance.
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to