cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: JXPathMetaModule configuration and sample use for function, package
Date Wed, 18 Feb 2004 14:52:00 GMT
Why don't you consult the jxpath web page? http://jakarta.apache.org/commons/jxpath/ 
I have used under Cocoon 2.0.4 custom functions without problems, but don't remember the details.

--------
David

-----Mensaje original-----
De: Roman Hrivik [mailto:hrivik@isdd.sk]
Enviado el: miƩrcoles, 18 de febrero de 2004 12:41
Para: users@cocoon.apache.org
Asunto: JXPathMetaModule configuration and sample use for function, package


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

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


Mime
View raw message