cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <>
Subject Nesting actions inside of a resource.
Date Thu, 17 May 2001 20:53:00 GMT
Currently you can't nest actions inside of a resource. The method call for 
an action expects the objectModel as a parameter, but there is no variable 
named objectModel inside of the method generated for a resource. Below is 
the error I got and a stupidly simple patch to make it work.
Keep up the great work!

org.apache.cocoon.ProcessingException: Language 
Exception:org.apache.cocoon.components.language.LanguageException: Error 
compiling sitemap_xmap: Line 0, column 0: 

Undefined variable: objectModel environment, objectModel, ^

Index: sitemap.xsl
RCS file: 
retrieving revision 1.2
diff -r1.2 sitemap.xsl
 >           Map objectModel = environment.getObjectModel();

peter royal ->
managing partners, inc. ->

To unsubscribe, e-mail:
For additional commands, email:

View raw message