Re[2]: [PHPTAL] no error when var is not set ?

2009-08-25 Thread GRolf
and how could I apply this to a tal:repeat ? I'd like to include some references to external javascriptfiles, if they were set. For that, I created the following lines in my template... tal:block tal:repeat=jsfile javascriptfiles script type=text/javascript src=${jsfile}/script /tal:block

Re: Re[2]: [PHPTAL] no error when var is not set ?

2009-08-25 Thread Kornel LesiƄski
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