Eric,
Offhand, I'd favor "fixing" the IPrivilegedChannel API to specify that
setPortalControlStructures() happen before setStaticData() called.
Conveying the request and response are among the things
setPortalControlStructures was intended to do -- constraining when that
call happens touches less and is really an improvement anyway.
I'm entirely willing to be swayed in my opinion by people giving this
more thought though.
Andrew
Eric Dalquist wrote:
I'd like to get people's thoughts on how to add some functionality to
either IPrivilegedChannels or IPortletAdaptor channels. What I
basically need is for setPortalControlStructures to be called before
setStaticData or have the setStaticData call include the request &
response. The motivation for this is before the first time a portlet
window is rendered a doLoad(window, request, response) call has to be
made to pluto. setStaticData seems like the perfect place to do this
but since the request & response aren't available I'm not sure what
should be done.
What makes this more complicated is it looks like
IChannel.setStaticData is called by a large number of classes in the
framework.
-Eric
--
You are currently subscribed to [email protected] as: [EMAIL
PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev