Thanks mark, I'll give it a try.

From memory I had used tried pageAttachListener during one of the beta 
releases, and it had problems where it was not always called. But I 
understand that this issue has been fixed in the release, so I will give it 
another try.

-Scott

On Wednesday 26 April 2006 15:10, Mark wrote:
> How about PageAttachListener.pageAttached()?
> Worked for me...
>
> MARK
>
> Scott Russell 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]
>
> ---------------------------------------------------------------------
> 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]

Reply via email to