Here is my problem I have a small GUI application pod in FWT and I want to test it in the browser. Further more I want it to be emedded into an existing page. Is there any way to do that without relying on a framework like slan?
If you're interested in mounting the FWT window into a existing page - see the examples/js/mount.fan example. Make sure you run mount.fan and not demo.fan.
DanielFathThu 19 May 2011
Thank you. So basicaly just add @JS facet and build the project to get the JavaScript files?
andyThu 19 May 2011
Yep - that will get you the JavaScript source files. Then just follow the examples to get it working in your server/client.
DanielFath Wed 18 May 2011
Here is my problem I have a small GUI application pod in FWT and I want to test it in the browser. Further more I want it to be emedded into an existing page. Is there any way to do that without relying on a framework like slan?
I assume I should call CompilerJS but how?
andy Wed 18 May 2011
For information on deploying in a webpage check out docLang::JavaScript.
If you're interested in mounting the FWT window into a existing page - see the
examples/js/mount.fan
example. Make sure you runmount.fan
and notdemo.fan
.DanielFath Thu 19 May 2011
Thank you. So basicaly just add @JS facet and build the project to get the JavaScript files?
andy Thu 19 May 2011
Yep - that will get you the JavaScript source files. Then just follow the examples to get it working in your server/client.