[Zope] rendering zpt in zpt

Marc Lindahl marc at bowery.com
Tue Mar 23 01:23:36 EST 2004


I think you'd define that section as a METAL macro and then use-macro 
in the other pt....

On Friday, March 19, 2004, at 01:50  PM, David Bear wrote:

> Say I have a page template a
>
> In that page I have a section like this:
>
>  <div id="body"> stuff in the body </div>
>
> is there a way from page template b to render only the "body" div from
> a?
>
>  <div id="insertedbody" tal:replace="here/templatefolder/a> stuff
>  </div>
>
>
> -- 
> David Bear
> phone: 	480-965-8257
> fax: 	480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list