I think there should be a controller even if empty but, if this is for
testing you can do

def empty(): response.render(request.args(0),{})

and now you can call

http://.../app/default/empty/yourcontroller.html


On Jun 16, 5:22 pm, Tim Michelsen <timmichel...@gmx-topmail.de> wrote:
> > 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...
>
> This would be very convenient.
> For example, sometimes one only wants to test out the same page with
> different results.
>
> I tried this in a controller
>
> In [4]: controller_page1 = "test"
>
> In [5]: controller_page2 = controller_page1
>
> In [6]: contr
> controller_page1  controller_page2
>
> In [6]: controller_page2
> Out[6]: 'test'
>
> but the page call for controller_page2 would lead to an invalid request.
>
> Kind regards,
> Timmie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to