Hi
Does anyone uses JXPathMetaModule with function or package parameter ?
I have this in my cocoon.xconf :
<component-instance class="org.apache.cocoon.components.modules.input.JXPathMetaModule" logger="core.modules.input.utils" name="utils">
<package name="my.own.package" prefix="ldaputil"/>
</component-instance>
I tried to use this module in sitemap like this <map:parameter name="maindn" value="{utils:ldaputil.DNHelper.getFirstEntry({chain:dn})}"></map:parame ter>
but nothing was working it seems that this module is always looking in 'request-attr' module what is wrong ? can anybody point me to right direction ?
Pls see javadocs for module. A meta module works on the output of
another module which you haven't specified in your declaration. Thus the default, "request-attr" is used.
You cannot nest modules in your sitemap. See InputModuleAction javadocs
for a possible solution.
Chris.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]