cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Nesting actions inside of a resource.
Date Fri, 18 May 2001 10:45:34 GMT
Peter,
Checked in. Please try it out.

Thanks,
dims

--- Peter Royal <proyal@managingpartners.com> wrote:
> 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!
> -peter
> 
> org.apache.cocoon.ProcessingException: Language 
> Exception:org.apache.cocoon.components.language.LanguageException: Error 
> compiling sitemap_xmap: Line 0, column 0: 
>
C:\java\tomcat\work\localhost_8080%2Fepace\org\apache\cocoon\www\accounting\bankaccounts\sitemap_xmap.java:226:
> 
> Undefined variable: objectModel environment, objectModel, ^
> 
> 
> Index: sitemap.xsl
> ===================================================================
> RCS file: 
>
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
> retrieving revision 1.2
> diff -r1.2 sitemap.xsl
> 313a314
>  >           Map objectModel = environment.getObjectModel();
> 
> 
> -- 
> peter royal -> proyal@managingpartners.com
> managing partners, inc. -> http://www.managingpartners.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message