On Dec 6, 1:00 am, voltron <[EMAIL PROTECTED]> wrote:
> Hmm, thats a typo Massimo, what really works is this:
>
> response.view = "../../../init/views/base_template.html"

I think Massimo is right: '../../other_app/views/...'
(using compileapp.py rev.518)

The base path for the views is: applications/request_app/views
the first ../ brings it up to: applications/request_app
the second to: applications
then add the other_app path: applications/other_app/views/...

The problem with URL is that it adds an extra '/' at the beginning
so URL( a='../../init', c='views', f='base_template.html') becomes
'/../../init/views/base_template.html'
you would have to use:
URL( a='../../init', c='views', f='base_template.html') [1:]

--~--~---------~--~----~------------~-------~--~----~
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