Simply because it allows for multiple modifier parameters (of which some can be optional), which in turn can allow for more flexibility in certain kinds of modifiers, e.g:

<tal:block tal:content="fullName:name/title,name/first,/name/last"></tal:block>

Kornel Lesiński wrote:
On 24-11-2009 at 23:43:16 Werner <> wrote:

Given this, one can speculate about a more leal-life example, which even a new TAL user would easily be able to pick up:

<option tal:attributes="selected compare:item/value,saved/value" tal:content="item/value"></option>

Just my 2 cents ;)

But how is that better than "item/value == saved/value"?

PHPTAL mailing list

Reply via email to