...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.SessionContext");
>
> //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]