The render phases are tied to a state machine coded within
ComponentPageElementImpl and not designed for extension.

I haven't started to optimize this code yet, there's a lot of room to
shortcut operations: smaller memory foot-prints, fewer operations to
render the output DOM.

On Mon, Jul 14, 2008 at 12:55 PM, Joe Hart <[EMAIL PROTECTED]> wrote:
> I am trying to assess the viability of a component level cache to
> improve the performance of some of our heavier pages (1500+ components).
> One of the ideas for doing this was to add additional render phases to
> stream html directly to the writer depending on the context of the
> request.  Then the render phase could abort the rendering of the rest of
> the component by returning false.
>
> I know there are other ways to do this but adding an additional render
> phase seemed like the cleanest way at the moment.
>
> -Joe
>
> -----Original Message-----
> From: robert zeigler [mailto:[EMAIL PROTECTED] On Behalf Of
> Robert Zeigler
> Sent: Monday, July 14, 2008 10:58 AM
> To: Tapestry users
> Subject: Re: Contributing New Render Phases
>
> No suggestions on adding a new render phase.
> But I'm really curious to know why you want to. :)
>
> Robert
>
> On Jul 14, 2008, at 7/1412:06 PM , Joe Hart wrote:
>
>> Hello,
>>
>>
>>
>> I have come across a situation where I would like to contribute an
>> additional render phase to the ones built in.  I would like to
>> contribute a render phase that comes before SetupRender and after
>> CleanupRender.  I tried following the configuration model found in
>> TapestryModule.java -> contributeComponentClassTransformWorker(...)
>> but
>> have had no success in getting my newly added render phases to execute
>> on page load.
>>
>>
>>
>> Before I go into the details of my additions to configuration I need
>> to
>> ask if this is even possible to do without modifying tapestry source.
>> Is it?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Joe
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to