cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Hrivik" <hri...@isdd.sk>
Subject JXPathMetaModule configuration and sample use for function, package
Date Wed, 18 Feb 2004 11:40:37 GMT

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 ?


there is my logs:
DEBUG   (2004-02-18) 12:30.20:515   [core.modules.input.utils]
(Unknown-URI) Unknown-thread/JXPathMetaModule: adding Package
my.own.package to functions
DEBUG   (2004-02-18) 12:30.37:828   [core.modules.input.utils]
(/core/app/console/organisationList.ccn)
HttpRequestHandler-22831804/JXPathMetaModule: modeConf is null
this.inputConf is
org.apache.avalon.framework.configuration.DefaultConfiguration@1bb9829
mConf is null this.input is
org.apache.cocoon.components.modules.input.RequestAttributeModule@d38976
this.defaultInput is request-attr inputName is null parameter is 
DEBUG   (2004-02-18) 12:30.37:828   [core.modules.input.utils]
(/core/app/console/organisationList.ccn)
HttpRequestHandler-22831804/AbstractMetaModule: MetaModule performing op
GET_VALUE on statically assigned module 'request-attr', using config
null
DEBUG   (2004-02-18) 12:30.37:828   [core.modules.input.utils]
(/core/app/console/organisationList.ccn)
HttpRequestHandler-22831804/AbstractMetaModule: using request-attr as
org.apache.cocoon.components.modules.input.RequestAttributeModule@d38976
for 0 () and
org.apache.avalon.framework.configuration.DefaultConfiguration@1bb9829
gives null
DEBUG   (2004-02-18) 12:30.37:828   [core.modules.input.utils]
(/core/app/console/organisationList.ccn)
HttpRequestHandler-22831804/JXPathMetaModule: returning an null as null
















---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message