ethan mindlace fremen <[EMAIL PROTECTED]> wrote:
> <dtml-with files>
> <dtml-var "_.get_size(_['file01.pdf'])">
Thanks ethan (& dieter too). I'm terribly sorry about requesting
a receipt (I had the option on OE forgotten), it will not happen again.
I have tried your suggestion, and indeed it works. Now, how does
this work when the "file.pdf" is given as a DTML-VAR ?
The situation is, I retrieve the file names from MySQL, so
what I actually have is a <dtml-var "path[12:]">. "Path" is
something like "06-01-2001/file.pdf". So I try this, but it
won't work (it won't parse, actually).
<dtml-var "_.get_size(_['<dtml-var "path[11:]">'])">
I guess my question is actually about nested DTML, isn't it ?
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -