On 22-10-2009 at 14:09:42 Michael <hosema...@poczta.onet.pl> wrote:

One more thing:
My select statement:
<select name="id_country" id="id_country">
<tal:block tal:repeat="option id_country_arr">
<option tal:attributes="selected php:isset(id_country_val) AND (id_country_val
== option/0)" value="${option/0}">${option/1}</option>

I have a problem with this statement:
(id_country_val == option/0)
it seems that phptal don't get the value of option/0

When you use php: modifier, all TALES stops working. With php: modifier option/0 means divide option by zero.

regards, Kornel

PHPTAL mailing list

Reply via email to