[BlueBream] Re : zope templating

Christophe Combelles ccomb at free.fr
Thu Jul 1 06:25:34 EDT 2010


You have several ways of doing it:
either use the omit-tag Tal attribute, or use tal-replace if you don't want the tag, or use an tag in the tal namespace like <tal:block content=...
or use a macro to include something from a child template, or event create a content-provider

Christophe

----- Reply message -----
De : "Tamer Higazi" <th982a at googlemail.com>
Date : mer., juin 30, 2010 23:48
Objet : [BlueBream] zope templating
Pour : <bluebream at zope.org>

Hi people!
Question, is there anyway to use the ZTPL to create content on the fly
whereever in the document? Or will I ALWAYS have to set the tal
attribute in a tag.

for me specially usefull to decide generating JS code and take out
certain segments of a document if I want to.



Tamer
_______________________________________________
bluebream mailing list
bluebream at zope.org
https://mail.zope.org/mailman/listinfo/bluebream
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/bluebream/attachments/20100701/5fe800b7/attachment.html 


More information about the bluebream mailing list