Please read all my comments first. Thanks. > The embarassing thing is that the manual already showed the correct > way to do it > (it had a modified content attribute) and I completely overlooked it.
I am trying the same example from the website - do you know if it has been updated for version 0.6? > * make yourpyjamasapplication, e.g. TodoApp.py > * use pyjsbuild to create the output folder which features, amongst > other stuff, TodoApp.html > * copy the entire output folder to the static folder of your > application when I checked this, it had already been done - perhaps in the build? > * Make a view in web2py based on the contents of TodoApp.html: change > the content attribute of the meta tag and the src attribute in the > script tag so that it points to the static controller of your > application can you be a bit more specific? Are you saying make a new view, or modify TodoApp.html? here are my two lines: <meta name="pygwt:module" content="{{=URL(r=request,c='static',f='output/ TodoApp')}}"> and <script language="javascript" src="{{=URL(r=request,c='static',f='output/ pygwt.js')}}"> NOTE: I am just trying out web2py and pyjamas. The pyjamas tutorial doesn't have web2py as one of the framework examples, but it does have webpy which I am hoping is similar. If I have too much trouble with web2py I will probably use one of the other frameworks to get thru the tutorial and then try it with web2py later on. My specific problem is: I went thru the tutorial on http://www.web2py.com/AlterEgo/default/show/203 and everything compiles fine with pyjsbuild, but when I open the todo app from the admin window of web2py only the html lines appear on the screen: Simple Todo Application Type a new task to insert in db, click on existing task to delete it the rest of the screen is white. I am using a windows vista computer, pyjamas 0.6, and web2py 1.66.2. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---