[Zope] infobar and urls

honey bee zope_baby@hotmail.com
Sat, 09 Mar 2002 16:34:04 +0530


<html><div style='background-color:'><DIV>HI,</DIV>
<DIV>I face a problem in using href tags in zope.I am using an Infobar from which I normally get all items and display them as links.but I decided to restrict the links displayed by adding an infobar_dtml method within the folder.</DIV>
<DIV>Now the problem is that the link works but the URL keeps building up like this.</DIV>
<DIV>Link is &lt;a href="AFolder/"&gt;link here&lt;/a&gt;</DIV>
<DIV>each time I click on the link url adds "AFolder/" to itself.So it keeps growing with each click</DIV>
<DIV><A href="http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A></DIV>
<DIV>
<DIV><A href="http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A><U><FONT color=#0000ff>AFolder/</FONT></U></DIV>
<DIV>
<DIV><A href="http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A><U><FONT color=#0000ff>AFolder/AFolder/</FONT></U></DIV>
<DIV>
<DIV><A href="http://hostname:0000/AFolder/AFolder/AFolder/AFolder">http://hostname:0000/AFolder/<U><FONT color=#0000ff>AFolder/AFolder/AFolder</A>&nbsp; </FONT></U></DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff>I was told that this is a bug in zope.But is there no workaround for this? please help.It looks ugly on my application&nbsp;&nbsp; :(</FONT></U></DIV>
<DIV><U><FONT color=#0000ff>Thanks and REgards</FONT></U></DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff></FONT></U>&nbsp;</DIV></DIV></DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://g.msn.com/1HM103401/10'>Click Here</a><br></html>