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: [EMAIL PROTECTED] |
| Jens Maukisch <[EMAIL PROTECTED]>
20/04/2006 19:10
|
|
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
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.
