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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to