Author: keith
Date: Wed Apr  2 20:23:11 2008
New Revision: 15502

Log:

Adding some comments for this.undispatch



Modified:
   
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java

Modified: 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
==============================================================================
--- 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   (original)
+++ 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   Wed Apr  2 20:23:11 2008
@@ -553,6 +553,23 @@
             if (destroy != null) {
                 
axisService.addParameter(MashupConstants.MASHUP_DESTROY_FUNCTION, destroy);
             }
+
+            /*
+            example usage:
+            this.undispatched= function bar(){
+                // Do something here
+            }
+
+            OR
+
+            this.undispatched= "bar";
+            function bar(){
+                // Do something here
+            }
+
+            When this is set any undispatched operations will be dispatched to 
this special function.
+
+            */
             if (undispatched != null) {
                 
axisService.addParameter(MashupConstants.UNDISPATCHED_OPERATION, undispatched);
             }

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to