Massimo,

"return response.render('custom.html',data=data) "

Wow, learn something new every week. That kills my (2) observation.
Thanks.

I do however think Web2Py would grow faster still if it could foster
plug-ins with design editors and report generation tools as well.

On Jun 29, 11:14 am, mdipierro <[email protected]> wrote:
> > b) That the Web2Py developer can for any given function in a
> > controller specify a custom html rendering. If not so specified then
> > the default <def>.html be utilized. Maybe like
>
> > return dict(data=data, html='custom.html')
>
> this can be achieved by
>
> response.view='custom.html'
> return dict(data=data)
>
> or
>
> return response.render('custom.html',data=data)
>
> the second i better because it is cachable.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to