Hi Fabio, On Thu, Feb 11, 2010 at 9:53 AM, Fabio Mascarenhas <mascaren...@acm.org>wrote: > > Why isn't htmlify working? You should be able to do > orbit.htmlify(wsapi_action), and then use things such as p{ "foo" } inside > wsapi_action to generate HTML (which you pass to coroutine.yield). >
Because I forgot how it works and didn't call it correctly (sorry for the noise :) ), plus I needed the web object so that the rest of my app can be properly layed out. On your second question, on stock Orbit you can't do that, but if you expose > the make_web_object function (removing local) you can do this: > > local web = orbit.make_web_object(orbit_app, wsapi_env) > Great that will allow me to use my Layout() function and it is set to be htmlified. > I am sorry for this omission, I am going to expose a method in the > application objet to create a web object from a WSAPI environment. > I changed it locally. Is there any way to update Orbit to the latest version in Git using LuaRocks? I don't have much experience, but I don't want to break anything so I just change the source when you give me fixes, but it would be nice to get the updates right from the source. Thoughts? -- Regards, Ryan
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/