I'm having trouble accessing the page envelope from my xsp's and sitemaps. I can see how its used throughout lenya but can't get it to work in my publication according to the instructions here: http://lenya.apache.org/1_2_x/components/publication/pageenvelopemodule.html.
For testing I try to access the publication-id from both an xsp and a usecase sitemap and get a:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.sitemap.PatternException: Cannot get variable 'publication-id' in _expression_ '{page-envelope:publication-id}'
usecase-myusecase.xmap:
...
<map:generate type="serverpages" src="">
<map:parameter name="publication-id" value="{page-envelope:publication-id}"/>
</map:generate>
...
and from an xsp I get a:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): org.apache.avalon.framework.CascadingRuntimeException: Error accessing attribute 'publication-id' from input module 'page-envelope'. Resolving page envelope failed:
<input:get-attribute module="page-envelope" as="string" name="publication-id"/>
I'm assuming that the page envelope is always available. Is there something I'm missing?
-justin
- help with the PageEnvelopeModule justin . Hannus
- Re: help with the PageEnvelopeModule Andreas Hartmann
- Re: help with the PageEnvelopeModule justin . Hannus
- Re: help with the PageEnvelopeModule Andreas Hartmann
- Re: help with the PageEnvelopeModule justin . Hannus
- Re: help with the PageEnvelopeModul... Andreas Hartmann
