[Zope3-Users] Using macros dynamically

2006-09-04 Thread Karel Antonio Verdecia Ortiz
Hi, 

I have seen tha in plone, I can call a macro dynamically:
div metal:use-macro=python:path(macro_path) /

Is there someone who can tell me the correct way to do this in zope3?
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Using macros dynamically

2006-09-04 Thread Stephan Richter
On Monday 04 September 2006 03:17, Karel Antonio Verdecia Ortiz wrote:
 I have seen tha in plone, I can call a macro dynamically:
     div metal:use-macro=python:path(macro_path) /

 Is there someone who can tell me the correct way to do this in zope3?

First of all, don't use macros that much.

We have the zope.contentprovider and zope.viewlet package that provides a lot 
more flexibility and is much more Zope-3-ish. I think some people have 
written tutorials how to use it effectively.

As a side note: I believe that anyone who builds Zope 3 applications without 
using those two packages is fool and makes his life much harder than it could 
be. :-)

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users