]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/Applet.js
Build XML String
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / Applet.js
index 753fe2578e032cead829b9d0bb272413d26c4ea3..4d43a12073153a92d02ff198a66b5a300d683b50 100644 (file)
@@ -54,7 +54,19 @@ qx.Class.define("org.argeo.slc.ria.Applet",
                                        
                                },
                                command         : null
-                       },                      
+                       }
+                       /*,             
+                       "copytocollection" : {
+                               shared          : true,
+                               selectionChange : function(viewId, xmlNode){
+                                       if(viewId != "applet") return;
+                                       if(!xmlNode){
+                                               this.setEnabled(false);
+                                       }else{
+                                               this.setEnabled(true);
+                                       }                                       
+                               }                               
+                       },
                        "deletetest" : {
                                shared          : true,
                                callback        : function(e){
@@ -70,16 +82,13 @@ qx.Class.define("org.argeo.slc.ria.Applet",
                                        }                                       
                                }
                        }
+                       */
                }
        }
   },
 
   members :
   {
-       /**
-        * Called at applet creation. Just registers viewPane.
-        * @param viewPane {org.argeo.ria.components.ViewPane} The viewPane.
-        */
        init : function(viewPane, xmlNode){
                this.setView(viewPane);
                this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId()));
@@ -91,10 +100,6 @@ qx.Class.define("org.argeo.slc.ria.Applet",
                }
        },
        
-       /**
-        * Load a given test : the data passed must be an XML node containing the test unique ID.
-        * @param xmlNode {Element} The text xml description. 
-        */
        load : function(){
                if(!this.data) return;
                if(this.loaded) return;