cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject RE: cvs commit: cocoon-2.1/src/blocks/slide/samples flow.js
Date Wed, 25 Feb 2004 16:16:50 GMT
Maybe it's related with this bug 22842:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22842

--
Reinhard

> -----Original Message-----
> From: Christopher Oliver [mailto:res1cf5x@verizon.net] 
> Sent: Wednesday, February 25, 2004 4:47 PM
> To: dev@cocoon.apache.org
> Subject: Re: cvs commit: cocoon-2.1/src/blocks/slide/samples flow.js
> 
> 
> What error did you get with "repository"? It is not a JS keyword.
> 
> Chris
> 
> unico@apache.org wrote:
> 
> >unico       2004/02/25 01:48:35
> >
> >  Modified:    src/blocks/slide/samples flow.js
> >  Log:
> >  rhino seems to barf on 'repository' keyword
> >  
> >  Revision  Changes    Path
> >  1.12      +1 -2      cocoon-2.1/src/blocks/slide/samples/flow.js
> >  
> >  Index: flow.js  
> > ===================================================================
> >  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/samples/flow.js,v
> >  retrieving revision 1.11
> >  retrieving revision 1.12
> >  diff -u -r1.11 -r1.12
> >  --- flow.js	17 Feb 2004 00:02:43 -0000	1.11
> >  +++ flow.js	25 Feb 2004 09:48:35 -0000	1.12
> >  @@ -4,9 +4,8 @@
> >   
> importPackage(Packages.org.apache.cocoon.components.source.helpers);
> >   importPackage(Packages.org.apache.cocoon.samples.slide);
> >   importPackage(Packages.org.apache.excalibur.source);
> >  -importPackage(Packages.org.apache.cocoon.components.repository);
> >   
> >  -var repository = cocoon.getComponent(SourceRepository.ROLE);
> >  +var repository = 
> cocoon.getComponent('org.apache.cocoon.components.repository.S
> ourceRepository');
> >   var resolver = cocoon.getComponent(SourceResolver.ROLE);
> >   var global = cocoon.getComponent(InputModule.ROLE + 
> "Selector").select("global");
> >   var namespace = global.getAttribute("namespace",null,null);
> >  
> >  
> >  
> >
> >  
> >
> 


Mime
View raw message