What do you want to do with your macro?<br><br>
<div><span class="gmail_quote">2007/3/2, Gaute Amundsen <<a href="mailto:gaute@div.org">gaute@div.org</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Friday 02 March 2007 11:20, Andreas Jung wrote:<br>> --On 2. März 2007 11:10:57 +0100 Gaute Amundsen <
<a href="mailto:gaute@div.org">gaute@div.org</a>> wrote:<br>> > I have tried many varieties, but I can't remember ever getting it to<br>> > work...<br>> ><br>> > A few googles shows me nothing either.
<br>><br>> returning a macro?<br>><br>> -aj<br><br>Something like this:<br><br>foo = restrictedTraverse('/foo/bar/index.html/macros/mymacro')<br>return foo()<br><br>But of course foo is a list, and I can't see a way I can use any of the
<br>contents..<br><br>G.<br>_______________________________________________<br>Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope
</a><br>** No cross posts or HTML encoding! **<br>(Related lists -<br><a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br><a href="http://mail.zope.org/mailman/listinfo/zope-dev">
http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br></blockquote></div><br><br clear="all"><br>-- <br>J. Prudent