[Petal] Re: Looking for Petal info

Jean-Michel Hiver jhiver@mkdoc.com
Tue, 30 Jul 2002 14:08:24 +0100


On Tue 30-Jul-2002 at 08:49:22AM -0400, William McKee wrote:
> On 29 Jul 2002 at 12:01, Jean-Michel Hiver wrote:
> > > notation:
> > > 
> > >   <tal:bday condition="user/is_birthday">
> > >     Happy Birthday, <tal:name replace="user/real_name"/>!
> > >   </tal:bday>
> > >   <tal:nbday condition="not:user/is_birthday">
> > >     What?! It's not your birthday?
> > >     Maybe tomorrow...
> > >   </tal:nbday>

I was just thinking... Instead of writing:

<tal:bday condition="user/is_birthday">


Why not write:

<tal:condition name="user/is_birthday"> ??


It just seems a bit cleaner to me...
-- 
IT'S TIME FOR A DIFFERENT KIND OF WEB
================================================================
  Jean-Michel Hiver - Software Director
  jhiver@mkdoc.com
  +44 (0)114 255 8097
================================================================
                                      VISIT HTTP://WWW.MKDOC.COM