Salome HOME
Promote, Demote, Validate... operations are available without refresh operation.
[tools/siman.git] / Workspace / Siman / src / struts.xml
index 23c10e367f9d112d2060f44d11a4072ee3850682..965f780801b7668b2f33e1edd4c0dd50fd4fefc1 100644 (file)
                </action>
                <action name="login" class="connectionAction" method="login">
                        <result name="none" type="tiles">page.home</result>
+            <result name="create" type="tiles">page.home</result>
                        <result name="open" type="redirectAction">
                                select?menu=search
                        </result>
                        <result name="study" type="redirectAction">
-                               study/step-study
+                               study/open-study
                        </result>
                        <result name="knowledge" type="redirectAction">
                                study/step-knowledge
                        <result name="sysadmin" type="tiles">page.home</result>
                </action>
                <action name="select" class="menuAction" method="selectItem">
-            <result name="new-empty" type="redirectAction">
-                study/new-empty
-            </result>
+                       <result name="new-empty" type="redirectAction">
+                               study/new-empty
+                       </result>
             <result name="new-copy" type="redirectAction">
                 study/new-copy
             </result>
                        <result name="success">/study/jsonCheckoutRes.jsp</result>
                </action>
 
-        <!-- Creation of a study
-        -->
-        <action name="new-empty" class="newStudyAction"
-            method="initialize">
-            <result name="success" type="tiles">page.newstudy</result>
-        </action>
-        <action name="valid-new" class="newStudyAction"
-            method="create">
-            <!--interceptor-ref name="siman-validation" /-->
-            <result name="success" type="redirectAction">
-                open-study?selection=0.1
-            </result>
-            <result name="input" type="tiles">page.newstudy</result>
-            <result name="error" type="tiles">page.home</result>
-        </action>
+               <!-- Creation of a study
+               -->
+               <action name="new-empty" class="newStudyAction"
+                       method="initialize">
+                       <result name="success" type="tiles">page.newstudy</result>
+               </action>
+               <action name="valid-new" class="newStudyAction"
+                       method="create">
+                       <!--interceptor-ref name="siman-validation" /-->
+                       <result name="success" type="redirectAction">
+                               open-study?selection=0.1
+                       </result>
+                       <result name="input" type="tiles">page.newstudy</result>
+                       <result name="error" type="tiles">page.home</result>
+               </action>
 
         <!-- Creation of a new study from existing one
         -->