Florent Guillaume wrote:
>
> > >tal:omit-tag="">
> > I am
> >
>
> Everybody keeps forgetting it, but this should work:
>
>
> I am
>
>
> Because tags in the 'tal' namespace are stripped.
>
> I could have used "dummy" instead of "loop" though.
I did forget that, and that makes it e
> tal:omit-tag="">
> I am
>
Everybody keeps forgetting it, but this should work:
I am
Because tags in the 'tal' namespace are stripped.
I could have used "dummy" instead of "loop" though.
Florent
--
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10 http://nuxeo.co
Ulrich Eck wrote:
> Hi out there :)
>
> >>How would you do repeating texts or conditional texts like this? I mean,
> >>perhaps it's obvious; I haven't played enough with ZPT yet.
>
> Just for your info:
>
> there is one product that tries to address this problem: TERRY
> http://www.zope.org/Mem
Steve Alexander wrote:
>
> I guess you'd need to have a special page template interpreter that
> knows that it isn't putting out SGML-style stuff.
Indeed, you can, of course, use < amd & in the meantime if the HTML
parser in ZPT does barf (which maybe it shouldn't?)
Sounds like the content type
Chris Withers wrote:
>
> Chris -- more and more a ZPT-ONLY! fan each day...
How would you email someone some output from the Python interactive
interpreter?
In other words, how do you get a naked < or > or & in a plain-text ZPT?
I guess you'd need to have a special page template interpreter
I was about to mention TERRY, but Ulrich beat me to it.
One nice thing about TERRY is that it allows you to change the markup
simbols. For instance it is entirely possible to use:
(which, by the way, is a semi-standard way to do extentions to html and
looks like php escapes)
instead of
%(tal:con
Hi out there :)
>>
>> How would you do repeating texts or conditional texts like this? I mean,
>> perhaps it's obvious; I haven't played enough with ZPT yet.
>
Just for your info:
there is one product that tries to address this problem: TERRY
http://www.zope.org/Members/lalo/TextTemplates
It i
Martijn Faassen wrote:
>
> How would you do repeating texts or conditional texts like this? I mean,
> perhaps it's obvious; I haven't played enough with ZPT yet.
repeat:
I am
condition:
You have objects in your basket
Your basket is empty
> I also think this looks rather unnatural wh
At 05:58 PM 12/4/01 +, Chris Withers wrote:
>"Phillip J. Eby" wrote:
> >
> > I personally would like to see ZPT support plain text at some point, and it
> > already has some of the things necessary to do it. But that's a separate
> > issue from Zope 3X or Zope 3 itself.
>
>It already can:
>
>
Chris Withers wrote:
> "Phillip J. Eby" wrote:
> >
> > I personally would like to see ZPT support plain text at some point, and it
> > already has some of the things necessary to do it. But that's a separate
> > issue from Zope 3X or Zope 3 itself.
>
> It already can:
>
> tal:content="
"Phillip J. Eby" wrote:
>
> I personally would like to see ZPT support plain text at some point, and it
> already has some of the things necessary to do it. But that's a separate
> issue from Zope 3X or Zope 3 itself.
It already can:
Some dummy text
Or even:
Some dummy text
It's more lo
11 matches
Mail list logo