cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@anyware-tech.com>
Subject Re: Access to the AuthenticationContext
Date Thu, 12 Jan 2006 13:36:12 GMT
* Stefan Pietschmann:

> So I tried many ways to get just one parameter:
> 
> getInputModuleAttribute("/authentication/ID"));

The right one is:

getInputModuleAttribute("authentication/authentication/ID");

You can use XPath constructs only after the first component of the
path.  As stated in the Javadoc:

This input module provides access to the information of a session
context using an XPath. The XPath expression that can be used is
the same as for the session transformer.  The first information in
the path is the context, ...

See ContextInputModule.
-- 
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