[Zope] Need some newbie tal help

2010-10-05 Thread Mark Phillips
I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, but it didn't work: td tal:content=string:${player/name}b tal:condition=python:str(player['name']) == 'Team'name/b/td The data (player/name) appears correctly, but when

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/2010 01:20 PM, Mark Phillips wrote: I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, but it didn't work: td tal:content=string:${player/name}b

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Chris Withers
On 05/10/2010 18:20, Mark Phillips wrote: I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, but it didn't work: td tal:content=string:${player/name}b tal:condition=python:str(player['name']) == 'Team'name/b/td The

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Andrew Milton
+---[ Mark Phillips ]-- | I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, | but it didn't work: | | td tal:content=string:${player/name}b tal:condition=python:str(player['name']) ==

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Andrew Milton
+---[ Andrew Milton ]-- | +---[ Mark Phillips ]-- | | I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, | | but it didn't work: | | | | td

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Mark Phillips
On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton a...@theinternet.com.auwrote: +---[ Mark Phillips ]-- | I have a table and I am putting data into the cells using tal. I want to bold the data under a certain condition. I tried this, | but it didn't work: | | td

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Andrew Milton
+---[ Mark Phillips ]-- | | | On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton a...@theinternet.com.au wrote: | | +---[ Mark Phillips ]-- | | I have a table and I am putting data into the cells using tal. I want to bold the data under a

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Mark Phillips
On Tue, Oct 5, 2010 at 10:42 AM, Andrew Milton a...@theinternet.com.auwrote: +---[ Mark Phillips ]-- | | | On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton a...@theinternet.com.au wrote: | | +---[ Mark Phillips ]-- | | I have a table