Abhinav Upadhyay
Abhinav Upadhyay

Reputation: 2585

Creating widgets in GWT and using them in My existing website

I have just started learning GWT. My question is pretty simple:

If I create some widgets in GWT, lets say a Calculator widget and I want to use that widget in my existing PHP or JSP web app, then how can I do that ?

I am referring the book GWT in Action for learning GWT.

Upvotes: 3

Views: 810

Answers (1)

Ashwin Prabhu
Ashwin Prabhu

Reputation: 7624

Link the *.nocache.js script files and add the history iFrame to the host PHP or JSP page.

Just have a div with a known id, lets say "marker" in your host HTML.

Add the Widget from your GWT application into the div as RootPanel.get( "marker" ).add( < your app widget > )

Upvotes: 4

Related Questions