|
Hi,
I'm using the Authentication framework and was
trying to retreive the 'role' of a user by using the session. (just using the
sitemap parameter {role} works fine)
In an XSP I used the following line:
String role = <xsp-session-fw:getxml
context="authentication" path="/authentication/role"
as="string"/>;
I expected to get the full value of 'role', but got
only a part of it. Apparently that line does not get every text node from the
role element, but just the first one.
(If I retreive it as a documentfragment, all is
fine but I do want it as a string and don't want to parse the node
itself!)
Is this a bug?? If not, what is the meaning of the
'as="string"'??
Greetings,
Jan
|
- Re: [xsp-session-fw][authentication] getting role Jan Hoskens
- Re: [xsp-session-fw][authentication] getting role Stephanie Zohner
- Re: [xsp-session-fw][authentication] getting rol... Joerg Heinicke
- Re: [xsp-session-fw][authentication] getting... Antonio Gallardo
- Re: [xsp-session-fw][authentication] getting... Antonio Gallardo
- RE: [xsp-session-fw][authentication] get... Morley Howell
- RE: [xsp-session-fw][authentication... Antonio Gallardo
- Re: [xsp-session-fw][authentication] getting rol... Antonio Gallardo
- Re: [xsp-session-fw][authentication] getting... Stephanie Zohner
- Re: Cocoon CLI & Request params Stephanie Zohner
- Re: Cocoon CLI & Request params Stephanie Zohner
