Hi,
I’m new to Cocoon; so far I like it quite a bit.
Currently I’m writing my own Transformer and want to know if there was a
way I can access the user’s Session within the Transformer. Can it be
done? If so, how?
Thanks in advance,
Matt
1) Override setup() in your transformer
public void setup(
SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws ProcessingException, SAXException, IOException {
2) Then something like
Request request = ObjectModelHelper.getRequest(
On Tue, 2004-05-25 at 14:58, Matt Walter wrote:
> Hi,
>
> Iâm new to Cocoon; so far I like it quite a bit. Currently Iâm writing
> my own Transformer and want to know if there was a way I can access
> the userâs Session within the Transformer. Can it be done? If so, how?
>
Yes it can, take a look