You can't use property expressions with component parameters

You should try 

<t:delegate to='block:fromContents'/> 


regards
Taha

On Apr 21, 2013, at 6:56 PM, Todd Orr wrote:

> Why does this throw an exception?
> 
>      <t:if test="prop:title">
> 
>        <t:delegate to="${block:formContents}" />
> 
>        <p:else>
> 
>          <fieldset>
> 
>            <legend>${title}</legend>
> 
>            <t:delegate to="${block:formContents}" />
> 
>          </fieldset>
> 
>        </p:else>
> 
>      </t:if>
> 
> 
> Removing the second block delegate attempt works, but obviously doesn't
> display the content. This fails the test of least surprise.

Reply via email to