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>
</tal:block>

but that also gives an error.



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

You've got it almost right.

tal:condition="exists:javascriptfiles"

(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
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to