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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to