On Wed, Jul 1, 2009 at 3:29 AM, Malthe<email address hidden> wrote:
> The second part should ideally be left out entirely, if not defined.
> Perhaps:
>
> <span tal:attributes="string:${some_class}
> ${string:contenttype-${maybe_some_content_type} | nothing}">...</span>
>
> could work?
I think that is a nice solution to provide full evaluation of the
expression inside of ${}.
On Wed, Jul 1, 2009 at 3:29 AM, Malthe<email address hidden> wrote: "string: ${some_ class} contenttype- ${maybe_ some_content_ type} | nothing} ">...</ span>
> The second part should ideally be left out entirely, if not defined.
> Perhaps:
>
> <span tal:attributes=
> ${string:
>
> could work?
I think that is a nice solution to provide full evaluation of the
expression inside of ${}.
-Edwin