Newbie Q from non-Newbie: Where does my HTML go?
Why does EX1 return the raw text (and shows the html) and the second returns the html (nicely) into the page? EX1: <dtml-var expr="_.whrandom.choice(tips.objectValues())"> EX2: <dtml-in "tips.objectValues()"> <dtml-var sequence-item> </dtml-in> Better way to do EX1? Thanks, J
Dead on balls accurate. Works like a charm. Thanks Chris. (now have to figure out why I couldn't figure that out!) :) J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Wed, 16 Aug 2000 23:17:01 +0100 To: "J. Atwood" <jatwood@bwanazulia.com> Cc: zope@zope.org Subject: Re: [Zope] Newbie Q from non-Newbie: Where does my HTML go?
"J. Atwood" wrote:
EX1:
<dtml-var expr="_.whrandom.choice(tips.objectValues())">
untested...
<dtml-var expr="_.whrandom.choice(tips.objectValues())(_.None,_)">
cheers,
Chris
participants (2)
-
Chris Withers -
J. Atwood