My way of thinking about it is...

...if the "whole" component is rendered then the render phases are
called, but it a component is partially rendered, then they're not.

But you can always use <t:trigger /> to fire your own render events,
as mentioned here:

http://tapestry.1045711.n5.nabble.com/T5-2-Looking-For-A-RenderNotification-Mixin-Example-td4917771.html#a4920626

Steve.


On 25 October 2011 17:22, Dragan Sahpaski <dragan.sahpa...@gmail.com> wrote:
> Hi,
> On Tue, Oct 25, 2011 at 11:10 AM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote:
>
>> I don't think those are called on Ajax updates.
>
>
> SetupRender and the rest of the render phase events are called if the
> component is inside the block that updates the zone (if it's the zones body,
> than inside the zone). They aren't called on the page containing the zone.
>
>
>> I use @SetupRender now and it only works before the ajax update.
>>
>>
>> On Oct 25, 2011, at 5:00 AM, Steve Eynon <steve.ey...@alienfactory.co.uk>
>> wrote:
>>
>> > Could you use ... ?
>> >
>> > @InjectContainer
>> > private ClientElement container;
>> >
>> > void afterRender() {
>> >    container.getClientId();
>> > }
>> >
>> > Steve.
>> >
>> > On 25 October 2011 16:53, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:
>> >> I guess I now have an infamous situation,
>> >> a component inside a zone, which has a mixin.
>> >>
>> >> The mixin gets the client ID of it's component, which works great, until
>> the zone gets updated.
>> >>
>> >> The zone now has random-ish client ID for the component.  How do I fix
>> my mixin so it gets the new client ID?
>> >>
>> >> Thanks
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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
>>
>>
>

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

Reply via email to