[Zope] infobar and urls

Jens Grewen zope@grewen.de
Sat, 9 Mar 2002 12:15:27 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_007B_01C1C764.19017EF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

use
Link is <a href=3D"/AFolder/">link here</a>

instead of

Link is <a href=3D"AFolder/">link here</a>


Jens
  ----- Original Message -----=20
  From: honey bee=20
  To: zope@zope.org=20
  Sent: Saturday, March 09, 2002 12:04 PM
  Subject: [Zope] infobar and urls


  HI,
  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.
  Now the problem is that the link works but the URL keeps building up =
like this.
  Link is <a href=3D"AFolder/">link here</a>
  each time I click on the link url adds "AFolder/" to itself.So it =
keeps growing with each click
  http://hostname:0000/AFolder/
  http://hostname:0000/AFolder/AFolder/
  http://hostname:0000/AFolder/AFolder/AFolder/
  http://hostname:0000/AFolder/AFolder/AFolder/AFolder =20


  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   :(
  Thanks and REgards






-------------------------------------------------------------------------=
-----
  MSN Photos is the easiest way to share and print your photos: Click =
Here
  _______________________________________________ Zope maillist - =
Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross =
posts or HTML encoding! ** (Related lists - =
http://lists.zope.org/mailman/listinfo/zope-announce =
http://lists.zope.org/mailman/listinfo/zope-dev )=20

------=_NextPart_000_007B_01C1C764.19017EF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>use</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Link is &lt;a=20
href=3D"/AFolder/"&gt;link here&lt;/a&gt;</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>instead=20
of</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial =
size=3D2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Link is &lt;a=20
href=3D"AFolder/"&gt;link here&lt;/a&gt;</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jens</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dzope_baby@hotmail.com =
href=3D"mailto:zope_baby@hotmail.com">honey=20
  bee</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dzope@zope.org=20
  href=3D"mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Saturday, March 09, 2002 =
12:04=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] infobar and =
urls</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>HI,</DIV>
  <DIV>I face a problem in using href tags in zope.I am using an Infobar =
from=20
  which I normally get all items and display them as links.but I decided =
to=20
  restrict the links displayed by adding an infobar_dtml method within =
the=20
  folder.</DIV>
  <DIV>Now the problem is that the link works but the URL keeps building =
up like=20
  this.</DIV>
  <DIV>Link is &lt;a href=3D"AFolder/"&gt;link here&lt;/a&gt;</DIV>
  <DIV>each time I click on the link url adds "AFolder/" to itself.So it =
keeps=20
  growing with each click</DIV>
  <DIV><A=20
  =
href=3D"http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A><=
/DIV>
  <DIV>
  <DIV><A=20
  =
href=3D"http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A><=
U><FONT=20
  color=3D#0000ff>AFolder/</FONT></U></DIV>
  <DIV>
  <DIV><A=20
  =
href=3D"http://hostname:0000/AFolder/">http://hostname:0000/AFolder/</A><=
U><FONT=20
  color=3D#0000ff>AFolder/AFolder/</FONT></U></DIV>
  <DIV>
  <DIV><A=20
  =
href=3D"http://hostname:0000/AFolder/AFolder/AFolder/AFolder">http://host=
name:0000/AFolder/<U><FONT=20
  color=3D#0000ff>AFolder/AFolder/AFolder</A>&nbsp; </FONT></U></DIV>
  <DIV><U><FONT color=3D#0000ff></FONT></U>&nbsp;</DIV>
  <DIV><U><FONT color=3D#0000ff></FONT></U>&nbsp;</DIV>
  <DIV><U><FONT color=3D#0000ff>I was told that this is a bug in =
zope.But is there=20
  no workaround for this? please help.It looks ugly on my=20
  application&nbsp;&nbsp; :(</FONT></U></DIV>
  <DIV><U><FONT color=3D#0000ff>Thanks and REgards</FONT></U></DIV>
  <DIV><U><FONT color=3D#0000ff></FONT></U>&nbsp;</DIV>
  <DIV><U><FONT color=3D#0000ff></FONT></U>&nbsp;</DIV>
  <DIV><U><FONT color=3D#0000ff></FONT></U>&nbsp;</DIV>
  <DIV><U><FONT =
color=3D#0000ff></FONT></U>&nbsp;</DIV></DIV></DIV></DIV></DIV><BR=20
  clear=3Dall>
  <HR>
  MSN Photos is the easiest way to share and print your photos: <A=20
  href=3D"http://g.msn.com/1HM103401/10">Click=20
  Here</A><BR>_______________________________________________ Zope =
maillist -=20
  Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross =
posts or=20
  HTML encoding! ** (Related lists -=20
  http://lists.zope.org/mailman/listinfo/zope-announce=20
  http://lists.zope.org/mailman/listinfo/zope-dev ) =
</BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_007B_01C1C764.19017EF0--