On 25-08-2009 at 16:29:55 GRolf <ger...@pictureparking.com> wrote:

I tried with

<tal:block tal:condition="exists javascriptfiles" tal:repeat="jsfile javascriptfiles">
 <script type="text/javascript" src="${jsfile}"></script>

but that also gives an error.

Am I taking the wrong approach, or is there a solution?

You've got it almost right.


(structure is a special keyword that's followed by space, but exists is an expression modifier that needs to be followed by a colon).

regards, Kornel

PHPTAL mailing list

Reply via email to