I found you also need to put the

@SupportsInformalParameters

on your component. See the RenderInformals mixin for an example (or
just use the RenderInformals mixin!)

Steve.




On 10 November 2011 06:22, Michael Prescott
<michael.r.presc...@gmail.com> wrote:
> That didn't seem to make a difference, but it sounds prudent.
>
> On 9 November 2011 17:09, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:
>
>> AfterRender, not afterRenderBody and beginRender and it should work.
>>
>>
>>
>> On Nov 9, 2011, at 4:58 PM, Michael Prescott <michael.r.presc...@gmail.com>
>> wrote:
>>
>> > I had tried those instructions, but I guess I was a bit too rote (not
>> being
>> > familiar with these events, most of my components have templates); I need
>> > to close the element in afterRenderBody().  Thanks for the encouragement
>> to
>> > continue puzzling it out.
>> >
>> > Michael
>> >
>> > On 9 November 2011 16:28, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:
>> >
>> >> You have to have beginRender/afterRender(MarkupWriter) methods
>> >> in your page, and then write the root element in them, and then it
>> should
>> >> work.
>> >> I followed the InformalParameter documentation page and it worked.
>> >>
>> >> On Nov 9, 2011, at 4:25 PM, Michael Prescott wrote:
>> >>
>> >>> How do you render informal parameters if your component has a template
>> >>> file?  I've tried using the RenderInformals mixin, but (somewhat
>> >> bizarrely)
>> >>> it puts the informal parameters on the parent element!
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> >> For additional commands, e-mail: users-h...@tapestry.apache.org
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to