cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Pietschmann" <dev.sen...@gmail.com>
Subject AW: Access to the AuthenticationContext
Date Mon, 09 Jan 2006 12:19:29 GMT
Will try that. Thank you, Jean.

Stefan

| -----Ursprüngliche Nachricht-----
| Von: Jean-Baptiste Quenot [mailto:jbq@anyware-tech.com]
| Gesendet: Montag, 9. Januar 2006 13:15
| An: dev@cocoon.apache.org
| Betreff: Re: Access to the AuthenticationContext
| 
| * Stefan Pietschmann:
| > | You can also use the « session-context » input module to retrieve
| > | the piece of information more nicely:
| >
| > I would actually call this like
| > getInputModuleAttribute(manager,"session-context","/authentication/id")?
| And
| > it would return the id?
| 
| Yes, quite: getInputModuleAttribute(manager,"session-
| context","authentication/authentication/id")
| 
| > Even if so, I don't always have the full xpath and have to search for
| the
| > node, which would be kinda hard this way.
| 
| You can use an XPath expression like:
| 
| getInputModuleAttribute(manager,"session-context","//id")
| 
| Best regards,
| --
| Jean-Baptiste Quenot
| Systèmes d'Information
| ANYWARE TECHNOLOGIES
| Tel : +33 (0)5 61 00 52 90
| Fax : +33 (0)5 61 00 51 46
| http://www.anyware-tech.com/


Mime
View raw message