Sorry for late reply - have been away.<br><br>Cant get this to work!&nbsp; I hope I can avoid to use an absolute URL path.&nbsp; What i want is, as you say, to let the server generate as much of the URL as possible. To be more spesific, the zpt whith the calling href (located in &quot;folderA&quot;) calls a script with a construct&nbsp; like this:
<br>&lt;a tal:attributes=&quot;href string:folderB/scriptobject?Parameter=$variable&quot;&gt;Text&lt;/a&gt;<br>The effect of this is that Zope generates a link to the URL <a href="http://myserver/application/folderA/folderB/scriptobject?.">
http://myserver/application/folderA/folderB/scriptobject?.</a>.. and after this link is used to call the script in folderB, the script calls a zpt in folderA again.&nbsp; Now, all links in this zpt gets /folderB added in their path! If you have some more tips about this, or could point me to some examples or documentation that could explain to me how this is supposed to work, it would be great!
<br><br>Regards<br>Ole<br><pre>&gt;Instead of writing links like this::<br>&gt;<br>&gt; &lt;a href=&quot;folderB/object&quot;&gt;object&lt;/a&gt;<br>&gt;<br>&gt;write them like this::<br>&gt;<br>&gt; &lt;a tal:attributes=&quot;href folderB/object/absolute_url_path&quot;&gt;object&lt;/a&gt;
<br>&gt;<br>&gt;I know it's more typing but it will solve all your problems. I always<br>&gt;let the server have a part in generating URLs and I never suffer from<br>&gt;problems like this.</pre><br>