Hi,
Thanks for trying.
But I have an Action and code fragment you gave
causes contextManager problem, I think this , object
works best in xsps.
Alas, I have not worked a lot with actions.
I will keep researching..
----- Original Message -----
From: "Paul Bowler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 22, 2003 2:31 PM
Subject: Re: Session.getAttribute problem: cocoon 2.1.3 dev
> ...forgot to mention...
>
> To get your NodeList object you can do:
>
> DocumentFragment frag = sc.getXML("/authentication");
> NodeList nl = frag.getChildNodes();
>
> I vaguely remember the getNodeList() method was removed from or deprecated
in SessionContext.
>
> Paul.
>
>
> --
> Paul Bowler
> Aventix Associates Ltd
>
> ---------- Original Message -----------
> From: "iyy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wed, 22 Oct 2003 14:26:56 +0530
> Subject: Session.getAttribute problem: cocoon 2.1.3 dev
>
> > Hi,
> >
> > We have an action with a statement:
> > SessionContext sessioncontext = (SessionContext)
> >
session.getAttribute("org.apache.cocoon.webapps.authentication.SessionContex
t");
> >
> > //then from the session context we read authentication xml:
> > NodeList nodelist =
sessioncontext.getNodeList("/demohandler/authentication");
> >
> > Which worked in cocoon 2.1.dev version..
> >
> > but not in cocoon 2.1.3 dev.
> >
> > I think , the following string has
changed.."org.apache.cocoon.webapps.authentication.SessionContext"
> > Anybody knows what is the new string..?
> >
> > Any help is welcome.
> >
> > From,
> > iyyappan
> ------- End of Original Message -------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]