[EMAIL PROTECTED] wrote:
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="lenya/content/stories/overview.xsp">
<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.:
What's the stack trace?
-- Andreas
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]