Awesome. Thanks guys, this was exactly what I was looking for.
On Dec 22, 1:39 pm, Anthony <abasta...@gmail.com> wrote: > On Thursday, December 22, 2011 8:31:11 AM UTC-5, apple wrote: > > > You can put in your model: > > > response.anythingyoulike="something" > > > Then in your view > > > {{=response.anythingyoulike}} > > Note, it doesn't necessarily have to be added to the response object. In a > model, you could just do: > > anythingyoulike = 'something' > > and in a view: > > {{=anythingyoulike}} > > Objects defined in models are added to the global environment, and then the > views are executed in that environment (the variables returned in the dict > by the controller action are also added to that environment). > > Seehttp://web2py.com/books/default/chapter/29/4#Workflowfor more details. > > Anthony