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.


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.

Ugly solution:
Make sure that every page can render, even without required parameters, even when this is an error condition and should result in an exception, or error page being displayed.

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?

Thanks,

Tom





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

Reply via email to