On Wed, Dec 12, 2012 at 9:11 AM, Ian Boston <[email protected]> wrote: > Is there a standard way of getting hold of the userID in Cocoon so I > can use the SetHeader[1] action in a pipeline in the theme ?
Hi Ian, I've never done this, but here's documentation that explains what needs to be done: http://wiki.apache.org/cocoon/ResponseHeaderTransformer According to that, you would need to write a transformer aka aspect (a simple Java class) that gets the value and puts it into DRI. You also need to take care of adding it with the mentioned namespace. Then the listed sitemap declaration will make sure Cocoon transforms it into a HTTP header and leaves it out of the DRI. Hope that helps and if you succeed, please document this on the DSpace wiki. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

