[Petal] Stacking TAL conditionals

William McKee william@knowmad.com
Wed, 31 Jul 2002 09:55:58 -0400


On 27 Jul 2002 at 16:10, Jean-Michel Hiver wrote:
> It is neither legal HTML nor XML to have two attributes with the same
> name in the same tag. Besides, according to the specs tag attributes
> have no order...

Doh, of course. Still getting used to this new technique.

 
> To overcome this, you can separate your expressions with semicolons,
> i.e.
> <span petal:condition="edit; admin">Foo bar</span>

Will this still be the proper format for Petal 0.5? You mentioned in your 
announcment earlier this week support for stacked modifiers.
 

> Mhh, these questions are all interesting. Maybe I should consider
> setting up a websites with docs, code and FAQs at some point...

That would be a good thing, but at least we have the list archives....

William

-- 
 Lead Developer
 Knowmad Services Inc. || Internet Applications & Database Integration
 http://www.knowmad.com