]> 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/LauncherApplet.js
Adapt to IView interface changes / Update basic applets for testing new feature ...
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / LauncherApplet.js
index 7b3f846a2169479f6c9a98e9e9aee5fd8dac85ca..c84b1fcabb7b23125a9da210de2fa8c06b3ee18e 100644 (file)
@@ -24,6 +24,12 @@ qx.Class.define("org.argeo.slc.ria.LauncherApplet",
        view : {
                init : null
        },
+       viewSelection : {
+               nullable:false, 
+               check:"org.argeo.ria.components.ViewSelection"
+       },              
+       instanceId : {init:""},
+       instanceLabel : {init:""},      
        /**
         * Commands definition, see {@link org.argeo.ria.event.CommandsManager#definitions} 
         */
@@ -71,6 +77,7 @@ qx.Class.define("org.argeo.slc.ria.LauncherApplet",
         */
        init : function(viewPane){
                this.setView(viewPane);
+               this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId()));
                this._createLayout();
                this._createForm();
                this._amqClient = org.argeo.ria.remote.JmsClient.getInstance();