You could create the widget, and include the link to the compiled
javascript in the page.
In the HTML you'd need a div with an id="embed-my-widget-here" and
then write some native javascript to on-load/on-click to talk back
into the gwt to RootPanel.get("embed-my-widget-here").add(myWidget);
On Jun 27, 9:52 am, Jaroslav Záruba <[email protected]> wrote:
> I don't understand. You can write/output the markup "<script...></script>"
> with whatever technology you choose to. Once you have your module ready and
> compiled place the script-element into any HTML-page.
> The modules are written in Java though.
>
> On Sun, Jun 27, 2010 at 7:03 AM, nalina nandini
> <[email protected]>wrote:
>
>
>
> > Thanks for the reply.
> > But my question in detail is as follows:
> > I mean how to embed GWT widget in simple html or where I can embeb GWT
> > widget in any web application developed by using other technology like
> > dotnet etc.
>
> > 2010/6/24 Jaroslav Záruba <[email protected]>
>
> >> If you mean 'into *my* GWT-unaware page' then it's easy. Look into your
> >> module's 'start-page' (the one Eclipse creates for you) and find this line:
> >> <script ... src="your_module_name/your_module_name.nocache.js"></script>
> >> This is how GWT gets 'injected' into the page; copy this line into your
> >> 'any page'.
>
> >> ...at least this is how I do it, and it works.
>
> >> On Thu, Jun 24, 2010 at 9:34 AM, nalina <[email protected]> wrote:
>
> >>> How to embed GWT widget in any webapplication
> >>> can any one help me on this issue
>
> >>> --
> >>> 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]<google-web-toolkit%2Bunsubs
> >>> [email protected]>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> >> --
> >> 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]<google-web-toolkit%2Bunsubs
> >> [email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > 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]<google-web-toolkit%2Bunsubs
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
--
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.