Hello,
I wanted to try out angular javascript.
I thought I would create an HTMLPane and set it to some html
I created a folder with the javascript and the html page and pane.
I am able to see the html, but the javascript does not run.
Any ideas if this is possible?
Or why it does not work?
Attached is the angular stuff I tried and my test code.
My pane is
HTMLPane htmlArea = new HTMLPane();
htmlArea.setHeight100();
htmlArea.setWidth100();
htmlArea.setContentsURL("html/test.html");
this.addMember(htmlArea);
I downloaded the angular.min.js file from
http://angularjs.org/
I am using smart gwt
** Smart GWT Forum
I am using the following
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
Some of the double binding effect of angular is a must for what I have in mind. And serving up HTML with this is also required.
However, as I have used Smart GWT I hoped to use both. Just putting the angular stuff in the HTMLPane.
Thanks,
Evan
I wanted to try out angular javascript.
I thought I would create an HTMLPane and set it to some html
I created a folder with the javascript and the html page and pane.
I am able to see the html, but the javascript does not run.
Any ideas if this is possible?
Or why it does not work?
Attached is the angular stuff I tried and my test code.
My pane is
HTMLPane htmlArea = new HTMLPane();
htmlArea.setHeight100();
htmlArea.setWidth100();
htmlArea.setContentsURL("html/test.html");
this.addMember(htmlArea);
I downloaded the angular.min.js file from
http://angularjs.org/
I am using smart gwt
** Smart GWT Forum
I am using the following
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
Some of the double binding effect of angular is a must for what I have in mind. And serving up HTML with this is also required.
However, as I have used Smart GWT I hoped to use both. Just putting the angular stuff in the HTMLPane.
Thanks,
Evan
Comment