Thank you, I had even tried that before, but just found out the reason why
it didn't work then - the Context doesn't properly support XPath:
I was requesting
getInputModuleAttribute("authentication//ID");
>From a quick look at the ContextInputModule you will see that this is only
translated into
Hmpf, I don't get it to work. Btw, I get the context from the
SessionManager, but you made me curious about the session-context input
module (mainly because the XPath). Here's my method (I have the manager
object as an instance variable and only use the session-context, so it
slightly differs from
Will try that. Thank you, Jean.
Stefan
| -Ursprüngliche Nachricht-
| Von: Jean-Baptiste Quenot [mailto:[EMAIL PROTECTED]
| Gesendet: Montag, 9. Januar 2006 13:15
| An: dev@cocoon.apache.org
| Betreff: Re: Access to the AuthenticationContext
|
| * Stefan Pietschmann:
| > | You can also us
| Jean-Baptiste Quenot [mailto:[EMAIL PROTECTED]
|
| * Stefan Pietschmann:
|
| > So, am I supposed to use this or not? If not, what would be a
| > better way?
|
| Don't getSitemapComponentManager(). Why don't you use your
| ServiceManager to lookup the component?
Well, how? I don't k