cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Warrell.Harr...@westsussex.gov.uk
Subject Re: cocoon 2.1.8 PortalEngine obtaining User/Group Info in the Sitemap
Date Mon, 08 May 2006 12:00:48 GMT
Thanks Jens,

I have been struggling to find out how to get this vital nugget of info. I 
have to admit to be rather bewildered by the Portal framework and have 
been clinging to the insight available from postings like yours.

Any other useful pointers would be much appreciated as the complexity of 
this component can put off prospective users. You are probably aware that 
the userManagement tools are broken in 2.1.8/9  The flow script falls over 
since it can't get hold of the Cocoon component that has the User data in 
it. Not surprising since this seems to have changed significantly when 
Carsten slipped in the CoWarp stuff!

Anyway, thanks again, at least I can now do :-

java.lang.System.err.println("UserId="+cocoon.parameters["user"]);

from some flowscript kicked off from the portal page. Getting my head 
around portlets and coplets and events will take a while but I'm sure it 
will be worth it.....

Regards

Warrell Harries | IT Services, West Sussex County Council | Location: 
Northleigh House
Office: +44 (0) 1243-756837 | Email: warrell.harries@westsussex.gov.uk




Jens Maukisch <cocoon@maukisch.net> 
20/04/2006 19:10
Please respond to
users@cocoon.apache.org


To
"smailinglist@gmx.net" <users@cocoon.apache.org>
cc

Subject
Re: cocoon 2.1.8 PortalEngine obtaining User/Group Info in the Sitemap






Hi,

> how can i obtain the User and the Group Information in the Sitemap ?
> I need these Data to pass it as Parameters for a XSLT transformation.

inside the <map:act type="cowarp-is-logged-in">
you can access the information you want.
e.g. you can get the username via {ID}.

hth

-- 
* best regards
* Jens Maukisch 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




-- 
This e-mail and any attachments are confidential and intended solely for 
the persons addressed. If it has come to you in error please reply to 
advise us but you should not read it, copy it, show it to anyone else nor 
make any other use of its content.   West Sussex County Council takes 
steps to ensure e-mails and attachments are virus-free but you should 
carry out your own checks before opening any attachment. 
Mime
View raw message