[ZPT] absolute url of a page template

Florent Guillaume fg@nuxeo.com
Sat, 19 Oct 2002 20:03:00 +0000 (UTC)


Clint Brubakken  <cabrubak@inetic.com> wrote:
> I have a product the defines some PageTemplates via PageTemplateFile and
> I'm trying to get the absolute url of the template itself. 
> 
> when I try :
> here/Products/manage_main/absolute_url 
> it became:
> http://linux1:8080/AAA/Products/ 
> 
> how can I do this? 

absolute_url has a meaning for "objects", not "methods". And the
PageTemplateFile you're using definitely looks like a method (that is, a
View in Z3 terms).

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com