None that I know of, though this item in particular is something I hope to
resolve soon as well.

Without modifying tapestry I wonder if it's not possible to use hivemind to
do this? I don't remember right now but there is definitely a specific class
that handles doing the trigger for IDirect link calls..If this is a service
you could do a quick proxy to add some new logic, or you could use the
enhancement worker chain (like tacos does) to add the logic into the class
directly.

Either way adding a new method on all classes that implement a particular
interface that is invoked before ~anything~ on the page is called would be
nice. Maybe the other page state could be used for this? (do'nt remmber the
name, something about being taken out of the page pool..Whichever one means
the page is being taken out of the pool to be used to handle your request).

On 4/25/06, Scott Russell <[EMAIL PROTECTED]> wrote:
>
> I am having a problem with the order that the page listeners are called,
> when
> processing direct links.
>
> I typically use the pageBeginRender listener to initialise certain
> required
> page properties (which I find preferable to using session persistent
> properties, especially for hibernate lazy-loaded objects). Unfortunately,
> when a direct link is called, the direct link listener is invoked before
> the
> pageBeginRender is called (it is only called upon actual page render).
>
> This is most noticeable when usiing the contrib:Table component, because
> all
> its paging is encoded as direct links, yet I prefer to initialise its data
> within pageBeginRender, so the table's state is incomplete when the
> listener
> is processed.
>
> Does anyone have any ideas how to get around this limitation. Are any
> listeners called before the direct link's listener?
>
> regards,
> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to