[Zope] The Set tag, DC?
Chris Withers
chrisw@nipltd.com
Tue, 12 Jun 2001 14:51:52 +0100
Peter Bengtsson wrote:
>
> Maybe I should have cross posted this message to zope-dev??
Maybe you shouldn't ;-)
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
^^^^^^^^^^^^^^
> The set tag is described at: http://www.zopelabs.com/cookbook/992331398
> by ivo.
>
> Simplest case:
> # old situation
> <dtml-call "REQUEST.set('foo', 10*2)">
>
> # new situation
> <dtml-set foo="10*2">
Actually, the new situation has been around since 2.3.0:
If you need to do this kindof thing, chances are you doing something
business-logic-y, in which case you should be using a PythonScript ;-)
cheers,
Chris