[Zope] dynamically defined size attribute in a dtml-var tag?

Steve Alexander steve@cat-box.net
Fri, 12 May 2000 22:46:24 +0100


josh on wrote:
> 
> Hi,
> 
>  is it possible to have a dynamically defined size attribute in a dtml-var
> tag?
> 
> <dtml-var position size=_.int(_['leng']) etc="">
> <dtml-var position size=leng etc="">
> 
> zope keeps telling me my size attribute is a string

I answered this on the list just last week (Sunday). Look in the mail
archives.

It requires a patch to lib/python/DocumentTemplate/DT_Var.py

The title of the thread is "non static size parameter in dtml-var".

Look in NIP Ltd.'s list archive:

  http://zope.nipltd.com/public/lists/zope-archive.nsf/

--
Steve Alexander
Software Engineer
Cat-Box limited