I want to be able to use {{extend}} {{include}} capabilities of the
view, so it is well integrated with the website and I want to be able
to keep it international with T(). I shouldn't need a controller for
that...On Jun 16, 7:05 pm, Alexey Nezhdanov <[email protected]> wrote: > On Tuesday 16 June 2009 21:39:50 blackthorne wrote:> hi > > > On a small page I am working on, very often I have views that do not > > require controllers or models. All I want is to make a link to a view > > file. > > > It doesn't seem very efficient to call a controller that returns an > > empty dict() and does nothing but a response.view redefinition > > everytime I need to create a link to a new page that just has contents > > in the view side. > > If you have any arguments/variables passed to the page then you need > controller to validate them. If you don't have any - why don't you make just > a static file? > I know why though. You just need to have some content inserted into a site > template. static file will not do that. > Massimo - is it possible to have a controllerless static view which is still > have view {{insert}} capabilities ? > > > Thank you. > > -- > Sincerely yours > Alexey Nezhdanov --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

