Hi.
First of all very thanks for your reply.
I'll give a look to the java class later in this day.
I have tried by using
var codiceFiscale = 
sessionManager.getContextFragment("authentication","/authentication/USERINFORMATION/CODICE_FISCALE/text()");
and i have:
        codiceFiscale: 
        [#document-fragment: null]

Then i have tried this one:
var codiceFiscale = 
sessionManager.getContextFragment("authentication","/authentication/USERINFORMATION/CODICE_FISCALE/text()").getFirstChild().getNodeValue();
and i have an error (TypeError cannot convert null to an object)
While if i use
var codiceFiscale = 
sessionManager.getContextFragment("authentication","/authentication/USERINFORMATION/CODICE_FISCALE/text()").getFirstChild();
i have null.

Any ideas? thanks.

---------- Initial Header -----------

>From      : "news" [EMAIL PROTECTED]
To          : [email protected]
Cc          :
Date      : Tue, 19 Jul 2005 19:10:14 +0200
Subject : Re: Authentication problem







>
> Jorg Heymans wrote:
> > Angelo Immediata wrote:
> >
> >
> >>I don't see MMDXXXXXXXXXXXXX but only MM and nothing else.
> >
> >
> > Have a look at SimpleSessionContext.java in
> > src\blocks\session-fw\java\org\apache\cocoon\webapps\session\context\
> >
> > IIUC, the getXML method is used there to retrieve your value. Maybe
> > there is something wrong with the xpath expression ? Try it in isolation
> > on a similar piece of xml to isolate any problems in your code.
>
>
> Actually, try /authentication/USERINFORMATION/CODICE_FISCALE/text() ,
> does that work?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 



____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese! 
Abbonati subito su http://www.libero.it




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to