[Zope] Generating links from a list

Dieter Maurer dieter at handshake.de
Mon Jun 27 14:01:56 EDT 2005


John Poltorak wrote at 2005-6-27 13:05 +0100:
> ...
>This works fine, but now that I have used it in a template I'm finding 
>that the link is being prepended with the location of the new object after 
>selecting the original link. ie invoking the code above creates a link 
>such as:- 
>
>http://www.mysite.org/links/org-1
>
>After selecting org-1 the new page displays as:-
>
>http://www.mysite.org/links/org-1/links/org-1
>
>Is there something in the code above which generates the full URL?

Generate absolute (at least server absolute) URLs rather than
relative ones...

-- 
Dieter


More information about the Zope mailing list