On Jun 5, 2005, at 9:48 PM, Tom wrote:
Hi -
I just want to make sure I'm understanding things correctly.
The situation:
A page that implements IExternalPage, taking one parameter, that
displays a blog component. The page also has a "logout" link with a
listener.
The problem:
The logout listener doesn't get called when clicked, because an
exception occurs in the blog component. This is apparently
happening since activateExternalPage() is not getting called.
activateExternalPage does not get invoked when clicking on a
DirectLink (which is what I assume your "logout" link is). Only
ExternalLink's call activateExternalPage.
My hypothesis:
The listener invocation first rewinds the page, rendering the blog
component, but does NOT pass in the parameters necessary to render
the page.
Right. You will have to account for this either by passing the
necessary parameters and setting them using PageValidateListener or
by making the parameters persistent.
Better solution: I would think that since an external page requires
parameters to render, they should be passed to the page when
invoking a listener on that page. Am I missing something? Is there
some standard way to handle this?
The standard ways are mentioned above. This is certainly an
interesting issue to debate though.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]