cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: cvs commit: cocoon-2.1/src/blocks/slide/samples flow.js
Date Wed, 25 Feb 2004 15:47:07 GMT
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.SourceRepository');
>   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