[Zope] return another Zope object in a dtml-method

Andrew Thompson aft_cbk@hotmail.com
Fri, 23 Nov 2001 16:16:20 +0000


<html><div style='background-color:'><DIV>
<P><BR><BR></P>Dear Zope world... </DIV>
<DIV>&nbsp;</DIV>
<DIV>I have a dtml-method which adds an object, which I then wish to display.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can display a link to my object with </DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;a href=objects/newObject&gt;Jump to object&lt;/a&gt;&nbsp; (where objects is a folder)</DIV>
<DIV>&nbsp;</DIV>
<DIV>but I would rather forgo the link and take the user straight to the object.&nbsp; Sadly,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;dtml-var objects/newObject&gt;&nbsp; doesn't seem to work -- I get an unresolvable object, which does exist.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So what am I doing wrong ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>AFT</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>