On Jan 4, 2007, at 4:51 PM, Mark Lundquist wrote:

1) For the jxpath modules, an exception is thrown:

org.apache.commons.jxpath.JXPathException: Cannot access property: rg.apache.cocoon.environment.wrapper.RequestWrapper.attributeNames; No read method

I thought I saw an error (obviously slightly different) on at least one other jxpath input module, but now I can't reproduce it... maybe I was goofed before. But anyway, the RequestModule does get the above exception for the 'attributeNames' path, but other properties can be accessed with no problem. If I comment this out of the sitemap:

<map:parameter name="attributeNames" value="{request:attributeNames}"/>

...then the sample works.

I'm not sure what causes the problem here; RequestWrapper implements Request, which contains the getAttributeNames() signature. Any ideas?

cheers,
—ml—

Reply via email to