[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: name The data (player/name) appears correctly, but when player/name='Team', the text is not bold. After some reading, I believe what is happening is

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: > > tal:condition="python:str(player['name']) == 'Tea

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: > > tal:condition="python:str(player['name']) == 'Team'">name > > The data (player/name) appears correct

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: | | name Try using css -- Andrew Milton a...@theinternet.com.au __

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: | | | | name | | Try using css | | s/ta

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Mark Phillips
On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton 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 certain condition. I tried this, > | but it didn't work: > | > | tal:condition="python:str(p

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 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 certain condition. I tried

Re: [Zope] Need some newbie tal help

2010-10-05 Thread Mark Phillips
On Tue, Oct 5, 2010 at 10:42 AM, Andrew Milton wrote: > +---[ Mark Phillips ]-- > | > | > | On Tue, Oct 5, 2010 at 10:28 AM, Andrew Milton > wrote: > | > | +---[ Mark Phillips ]-- > | | I have a table and I am putting data into the cells usi