> I don't know what your Hebrew message says,
it's "double colon" in Hebrew.
> but if I were you, I'd use
> 'style1' instead of 'style1''.
sorry, that was a typo. I changed the desired class names for dummy
ones. Here's the line I'm using:
<table tal:attributes="class php: record/works_page ?
'llista_cancons' : 'llista_canconsindiv' ">
> On Sat, Oct 11, 2008 at 6:30 PM, Eduard Gamonal <[EMAIL PROTECTED]> wrote:
>> I'm developing a website using ccHost, and got trapped in a line:
>> <table tal:attributes="class php: record/works_page ? 'style1'' :
>> 'style2' " >
>> record/works_page contains a boolean value, and according to that, i
>> may apply style1 or style2.
>> I tried it changing the slashes into dots, but didn't work. I get the
>> famous Hebrew error:
>> Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in
>> on line 516
>> a line like <div tal:condition="not: record/works_page"
>> class="llista_cancons_titol"> has worked properly in the same context.
>> what's wrong in the first line, then?
>> Thanks :)
>> Eduard Gamonal
>> PHPTAL mailing list
> PHPTAL mailing list
PHPTAL mailing list