ovidiu 2002/10/16 20:02:12
Modified: src/java/org/apache/cocoon/components/flow/javascript
JSCocoon.java
Log:
Export the Avalon ComponentManager to JavaScript scripts. Request from
Reinhard Poetz <reinhard_poetz@gmx.net> and Maciek Kaminski
<maciejka@tiger.com.pl>.
Revision Changes Path
1.9 +5 -0 xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript/JSCocoon.java
Index: JSCocoon.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/javascript/JSCocoon.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- JSCocoon.java 24 Sep 2002 08:14:47 -0000 1.8
+++ JSCocoon.java 17 Oct 2002 03:02:12 -0000 1.9
@@ -170,6 +170,11 @@
return ObjectModelHelper.getContext(objectModel);
}
+ public ComponentManager jsGet_componentManager()
+ {
+ return manager;
+ }
+
/**
* Load the file specified as argument. Registers the file with the
* interpreter and then forces its loading by calling {@link
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
|