cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark H" <mailingli...@markhorgan.com>
Subject Problems with JXPathMetaModule
Date Thu, 26 Feb 2004 13:14:40 GMT
I can't seem to get jxpath input module working. Have other people got it
working? Looking into the code it keeps returning null for the context
object in the getContextObject() method. I'm using version 2.1.4 of cocoon.

cocoon.xconf:
<component-instance
class="org.apache.cocoon.components.modules.input.JXPathMetaModule"
logger="core.modules.input" name="my-jxpath">
		<lenient>false</lenient>
		<input-module name="request-attr"/>
	</component-instance>

flow:
model.page1="test/success.xml";
cocoon.request.setAttribute("model",model);

sitemap.xmap:
<map:generate src="{my-jxpath:model/page1}"/>

Mark H



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


Mime
View raw message