[Petal] Re: Petal wish list

Jean-Michel Hiver jhiver@mkdoc.com
Thu, 25 Jul 2002 13:57:29 +0100


> Ah, of course! I'm still learning to think in this new templating language. Is it 
> possible to stack modifiers? For example, would the following be a valid:
>     <option value="" petal:content=":encode :ucfirst title">Class Title</option>

Mhhh, not at the moment, but stacking modifiers is a good idea!
  => on my todo list


> While on the subject of conditions, is it possible to have Petal remove the tag the 
> conditional is in if the condition fails? For example, I have a tag that looks like the 
> following:
>     <p class="error" petal:if"error_message" petal:content="error_message">Error 
> Message</p>
> 
> If there is no error, the output will contain:
>   <p class="error" petal:if"error_message" petal:content="error_message"></p>

No, it should NOT be displayed at all. Is it?  If it is then I think
it's a bug.

Cheers,
-- 
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