Yes, this is such a common mistake that the error probably should be much
clearer.

On Sun, Apr 21, 2013 at 11:27 AM, Todd Orr <torr0...@gmail.com> wrote:

> Thanks!
>
>
> On Sun, Apr 21, 2013 at 9:34 AM, Taha Siddiqi <tawus.tapes...@gmail.com
> >wrote:
>
> > 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