David,
I am not sure. The interesting code is located here: ProfilerValveImpl.
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/profiler/impl/ProfilerValveImpl.java?view=markup
See the PortalSiteRequestContext API for what you can access from the
saved request context.
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteRequestContext.java?revision=724581&view=markup
Obviously, this is Jetspeed specific and was originally intended to be
accessed by decorators.
HTH,
Randy
David Just wrote:
Thanks, Are these request attributes listed in the documentation
somewhere?
David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l
[email protected]
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:[email protected]]
Sent: Wednesday, October 21, 2009 8:10 PM
To: Jetspeed Users List
Subject: Re: Access page/folder metadata from inside a portlet on that
is on the page/folder
David,
I believe it is possible since the current page and folder objects from
the PageManager/PortalSite are available as request attributes. Let me
know if you want me to look up the attribute names for you and/or
verify.
Randy
David Just wrote:
Is it possible (without using the PageManager service) for a portlet
to
have access to the metadata defined in it's parent page.psml and or
folder.metadata?
I would like to be able to set some preferences at the page / folder
level that affect all the portlets on that page. All the portlets
share
the same set of preference names.
David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939
l [email protected]
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
---------------------------------------------------------------------
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]