By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,035 Members | 1,984 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,035 IT Pros & Developers. It's quick & easy.

Zope, ZPT and slots

P: n/a
I would like to lauch macro from another zpt file. It is easy, of course,
but the problem is I would like the macro could has access to title_or_id
attribute of its caller. I read API, tried template/id, context/id and
container/id but without results.

<span tal:content="template/id"/> displays only own id, not its caller :(

<span tal:content="context/id"/> displays only id of the folder where this
zpt file and its macro is located. The same is for
tal:content="container/id"/> ;(

--
JZ
Sep 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jaroslaw Zabiello wrote:
I would like to lauch macro from another zpt file.


(snip - tech answer in private)

Please stop posting Zope and ZPT related questions here. There are
mailing-lists dedicated to Zope. That's where you'll get the good answers.

--
bruno desthuilliers
ruby -e "print 'o****@xiludom.gro'.split('@').collect{|p|
p.split('.').collect{|w| w.reverse}.join('.')}.join('@')"
Sep 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.