]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Left menu wrong shift for upload operation
authormka <mka@opencascade.com>
Thu, 31 Jan 2013 15:05:40 +0000 (15:05 +0000)
committermka <mka@opencascade.com>
Thu, 31 Jan 2013 15:05:40 +0000 (15:05 +0000)
Workspace/Siman/src/org/splat/simer/UploadAction.java
Workspace/Siman/src/struts.xml

index 3084ed9bad692b607b14a906ba23ccf85ca4aefa..9137d96e73e77ea6c8b73f2faa71cd9a399ffc1c 100644 (file)
@@ -65,11 +65,24 @@ public class UploadAction extends Action {
        // ==============================================================================================================================
 
        /**
-        * Prepare form for the upload action.
+        * Prepare form for the upload documents to study action.
         * 
         * @return SUCCESS
         */
-       public String doInitialize() {
+       public String doInitializeStudy() {
+               initializationFullScreenContext(Constants.STUDY_MENU,
+                               Constants.STUDY_MENU, Constants.TRUE, Constants.NONE,
+                               Constants.STUDY_MENU);
+
+               return SUCCESS;
+       }
+       
+       /**
+        * Prepare form for the upload users action.
+        * 
+        * @return SUCCESS
+        */
+       public String doInitializeSysAdmin() {
                initializationFullScreenContext(Constants.STUDY_MENU,
                                Constants.STUDY_MENU, Constants.TRUE, Constants.NONE,
                                Constants.OPEN);
index 5683d743e629fccd6691430aada15e585db209e7..051dd994b0c49f2f1bfdfb2e38af3ef3dd11b556 100644 (file)
                <!-- Edition of documents
                -->
                <action name="select-file" class="uploadAction"
-                       method="initialize">
+                       method="initializeStudy">
                        <result name="success" type="tiles">
                                page.uploadstudy
                        </result>
                        </result>
                </action>
                <action name="select-file" class="uploadAction"
-                       method="initialize">
+                       method="initializeSysAdmin">
                        <result name="success" type="tiles">
                                page.uploadsadmin
                        </result>