Hello Neeme,
Hello Kevin,
Hello JetSpeed people,

I want to be able to get the current logged in user from a Cocoon-XSP
page.
Both of you stated that you have patches of jetspeed to be able to do
that.
Is it possible for you to post your solutions for that problem?
Where exactly are patches neccessary?

> Neeme:
>       In order to output some meaningful data in Cocoon portlet, I
need access
>       to PortletConfig (and RunData). I've solved this by storing
>       PortletConfig in JetspeedServletRequest. Inside portlet (under
Cocoon,
>       in XSP page) I retrieve PortletConfig by casting the request
object to
>       JetspeedServletRequest and getting the PortletConfig from there.

>       From PortletConfig I retrieve also Rundata and from Rundata I
get
>       ParameterParser and User object.

>Kevin:
>   Actually... this isn't that bad.  I have hacked together
>   RunData/PortletConfig access within XSP.  I would be +1 for making
this
>   the default operation for the CocoonPortlet.  Not elagent but
certainly
>   more so than the current solution (using RunData factory :)
>   ... I added this to ./docs/TODO so that it will eventually get in
there
>   :) - burton

Thanks in advance!

Johannes


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?:           [EMAIL PROTECTED]

Reply via email to