Salome HOME
Config scripts for CEA and EDF are created.
[tools/siman.git] / Workspace / Siman / src / struts.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE struts PUBLIC
3         "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
4         "http://struts.apache.org/dtds/struts-2.3.dtd">
5
6
7 <struts>
8         <constant name="struts.objectFactory" value="spring" />
9         <constant name="struts.enable.DynamicMethodInvocation"
10                 value="false" />
11         <constant name="struts.devMode" value="true" />
12         <constant name="struts.custom.i18n.resources"
13                 value="log-messages,labels,som" />
14         <constant name="struts.i18n.encoding" value="ISO-8859-1" />
15         <constant name="struts.multipart.maxSize" value="100485760" />
16
17         <package name="simer-default" namespace="/"
18                 extends="struts-default">
19
20                 <result-types>
21                         <result-type name="tiles"
22                                 class="org.apache.struts2.views.tiles.TilesResult" />
23                 </result-types>
24
25                 <interceptors>
26                         <interceptor name="redirectOnEndOfSession"
27                                 class="redirectOnEndOfSessionInterceptor" />
28                         <interceptor name="file-upload"
29                                 class="org.apache.struts2.interceptor.FileUploadInterceptor">
30                         </interceptor>
31                         
32                         <interceptor-stack name="siman-validation">
33                     <interceptor-ref name="validation">
34                     <param name="excludeMethods">input,back,cancel,browse</param>
35                 </interceptor-ref>
36                 <interceptor-ref name="workflow"/>
37                  </interceptor-stack>
38
39                         <interceptor-stack name="simanBasicStack">
40                 <interceptor-ref name="i18n" />
41                 <interceptor-ref name="exception" />
42                                 <interceptor-ref name="servletConfig" />
43                                 <interceptor-ref name="redirectOnEndOfSession" />
44                                 <interceptor-ref name="prepare" />
45                                 <interceptor-ref name="checkbox" />
46                                 <interceptor-ref name="params" />
47                         </interceptor-stack>
48                 </interceptors>
49
50                 <default-interceptor-ref name="simanBasicStack" />
51
52                 <global-results>
53                         <result name="exception" type="chain">
54                                 exceptionAction
55                         </result>
56                         <result name="home" type="redirectAction">
57                                 <param name="actionName">index</param>
58                                 <param name="namespace">/</param>
59                         </result>
60                 </global-results>
61
62                 <global-exception-mappings>
63                         <exception-mapping exception="java.lang.Exception"
64                                 result="exception" />
65                 </global-exception-mappings>
66
67
68                 <action name="exceptionAction" class="exceptionAction"
69                         method="process">
70                         <interceptor-ref name="exception" />
71                         <interceptor-ref name="basicStack" />
72                         <result name="error" type="tiles">page.home</result>
73                         <result name="success" type="tiles">page.home</result>
74                 </action>
75         </package>
76
77         <package name="default" namespace="/" extends="simer-default">
78
79                 <default-action-ref name="index" />
80
81                 <!-- 
82                         <action name="test.exception.page" class="testExceptionAction" method="throwException">
83                         <result name="success" type="tiles">page.test.exception</result>
84                         </action>
85                         <action name="test.json.exception.page">
86                         <result name="success" type="tiles">page.test.json.exception</result>
87                         </action>
88                 -->
89                 <action name="invalidate-session" class="invalidateAction"
90                         method="invalidate">
91                         <result name="success" type="tiles">page.home</result>
92                 </action>
93
94                 <action name="index" class="startAction" method="initialize">
95                         <result name="success" type="tiles">page.welcome</result>
96                         <result name="error" type="tiles">page.exception</result>
97                 </action>
98                 <action name="login" class="connectionAction" method="login">
99                         <result name="none" type="tiles">page.home</result>
100             <result name="create" type="tiles">page.home</result>
101                         <result name="open" type="redirectAction">
102                                 select?menu=search
103                         </result>
104                         <result name="study" type="redirectAction">
105                                 study/open-study
106                         </result>
107                         <result name="knowledge" type="redirectAction">
108                                 study/step-knowledge
109                         </result>
110                         <!--result name="input">/login.jsp</result-->
111                         <result name="input" type="tiles">page.login</result>
112                         <result name="error" type="tiles">page.home</result>
113                 </action>
114                 <action name="logout" class="connectionAction"
115                         method="logout">
116                         <result name="none" type="tiles">page.home</result>
117                         <result name="create" type="tiles">page.home</result>
118                         <result name="open" type="redirectAction">
119                                 select?menu=search
120                         </result>
121                         <result name="study" type="tiles">page.home</result>
122                         <result name="knowledge" type="tiles">page.home</result>
123                         <result name="datadmin" type="tiles">page.home</result>
124                         <result name="sysadmin" type="tiles">page.home</result>
125                 </action>
126                 <action name="select" class="menuAction" method="selectItem">
127                         <result name="new-empty" type="redirectAction">
128                                 study/new-empty
129                         </result>
130             <result name="new-copy" type="redirectAction">
131                 study/new-copy
132             </result>
133                         <result name="search-study" type="redirectAction">
134                                 study/search-study
135                         </result>
136                         <result name="search-knowledge" type="redirectAction">
137                                 study/search-knowledge
138                         </result>
139                         <result name="search-document" type="redirectAction">
140                                 study/search-document
141                         </result>
142                         <result name="prop-general" type="redirectAction">
143                                 study/prop-study
144                         </result>
145                         <result name="prop-scenario" type="redirectAction">
146                                 study/prop-scenario
147                         </result>
148                         <result name="admin-indexing" type="redirectAction">
149                                 sadmin/indexing
150                         </result>
151                         <result name="admin-importuser" type="redirectAction">
152                                 sadmin/select-file?nextAction=importuser
153                         </result>
154                         <result name="admin-scontext" type="redirectAction">
155                                 sadmin/scontext
156                         </result>
157                         <result name="admin-knowelm" type="redirectAction">
158                                 sadmin/knowlelm
159                         </result>
160                         <!-- If no menu item is selected then go to home page -->
161                         <result name="none" type="tiles">page.home</result>
162                 </action>
163
164         </package>
165
166         <package name="study" namespace="/study" extends="simer-default">
167
168                 <result-types>
169                         <result-type name="tiles"
170                                 class="org.apache.struts2.views.tiles.TilesResult" />
171                 </result-types>
172
173                 <action name="notyetimplemented" class="notYetImplementedAction"
174                         method="initialize">
175                         <result name="success" type="tiles">
176                                 page.error.study
177                         </result>
178                 </action>
179
180                 <action name="checkout" class="checkoutAction"
181                         method="checkout">
182                         <result name="success">/study/jsonCheckoutRes.jsp</result>
183                 </action>
184
185                 <!-- Creation of a study
186                 -->
187                 <action name="new-empty" class="newStudyAction"
188                         method="initialize">
189                         <result name="success" type="tiles">page.newstudy</result>
190                 </action>
191                 <action name="valid-new" class="newStudyAction"
192                         method="create">
193             <interceptor-ref name="simanBasicStack"/>
194             <interceptor-ref name="siman-validation"/>
195                         <result name="success" type="redirectAction">
196                                 open-study?selection=0.1
197                         </result>
198                         <result name="input" type="tiles">page.newstudy</result>
199                         <result name="error" type="tiles">page.home</result>
200                 </action>
201
202         <!-- Creation of a new study from existing one
203         -->
204         <action name="new-copy" class="copyStudyAction"
205             method="initialize">
206             <result name="success" type="tiles">page.newcopy</result>
207         </action>
208         <action name="valid-copy" class="copyStudyAction"
209             method="create">
210             <interceptor-ref name="simanBasicStack"/>
211             <interceptor-ref name="siman-validation"/>
212             <result name="success" type="redirectAction">
213                 open-study?selection=0.1
214             </result>
215             <result name="input" type="tiles">page.newcopy</result>
216             <result name="error" type="tiles">page.home</result>
217         </action>
218
219                 <!-- Search for studies, knowledge elements and documents
220                 -->
221                 <action name="search-study" class="searchStudyAction"
222                         method="initialize">
223                         <result name="success" type="tiles">
224                                 page.searchstudy
225                         </result>
226                         <result name="error" type="tiles">page.home</result>
227                 </action>
228                 <action name="refresh-study" class="searchStudyAction"
229                         method="submitForm">
230                         <result name="selectype" type="tiles">
231                                 page.searchstudy
232                         </result>
233                         <result name="refresh" type="tiles">
234                                 page.searchstudy
235                         </result>
236                         <result name="wait" type="tiles">page.searchstudy</result>
237                         <result name="error" type="redirectAction">
238                                 search-study
239                         </result>
240                 </action>
241
242                 <action name="search-knowledge" class="searchKnowledgeAction"
243                         method="initialize">
244                         <result name="success" type="tiles">
245                                 page.searchknowledge
246                         </result>
247                 </action>
248                 <action name="refresh-knowledge" class="searchKnowledgeAction"
249                         method="submitForm">
250                         <result name="selectype" type="tiles">
251                                 page.searchknowledge
252                         </result>
253                         <result name="refresh" type="tiles">
254                                 page.searchknowledge
255                         </result>
256                         <result name="wait" type="tiles">
257                                 page.searchknowledge
258                         </result>
259                         <result name="error" type="redirectAction">
260                                 search-knowledge
261                         </result>
262                 </action>
263
264                 <action name="search-document" class="searchDocumentAction"
265                         method="initialize">
266                         <result name="success">/study/searchDocument.jsp</result>
267                 </action>
268
269                 <!-- Display of studies
270                 -->
271                 <action name="open-study" class="displayStudyStepAction"
272                         method="open">
273                         <result name="success" type="tiles">
274                                 page.displaystudy
275                         </result>
276                 </action>
277                 <action name="step-study" class="displayStudyStepAction"
278                         method="selectStep">
279                         <result name="success" type="tiles">
280                                 page.displaystudy
281                         </result>
282                 </action>
283                 <action name="document-study" class="displayStudyStepAction"
284                         method="selectDocument">
285                         <result name="success" type="tiles">
286                                 page.displaystudy
287                         </result>
288                 </action>
289                 <action name="knowledge-study" class="displayStudyStepAction"
290                         method="selectKnowledge">
291                         <result name="success" type="tiles">
292                                 page.displaystudy
293                         </result>
294                 </action>
295         <action name="close-study" class="displayStudyStepAction"
296             method="close">
297             <result name="success" type="tiles">page.home</result>
298         </action>
299         <action name="remove-study" class="removeStudyAction"
300             method="remove">
301             <result name="success" type="tiles">page.home</result>
302         </action>
303                 <action name="prop-study" class="studyPropertiesAction"
304                         method="initialize">
305                         <result name="display" type="tiles">
306                                 page.displaystudyproperties
307                         </result>
308                         <result name="edit" type="tiles">
309                                 page.editstudyproperties
310                         </result>
311                 </action>
312
313                 <!-- Display of knowledge elements
314                 -->
315                 <action name="open-knowledge" class="displayKnowledgeAction"
316                         method="open">
317                         <result name="success" type="tiles">
318                                 page.displayknowledge
319                         </result>
320                 </action>
321                 <action name="step-knowledge" class="displayKnowledgeAction"
322                         method="selectStep">
323                         <result name="success" type="tiles">
324                                 page.displayknowledge
325                         </result>
326                 </action>
327                 <action name="document-knowledge" class="displayKnowledgeAction"
328                         method="selectDocument">
329                         <result name="success" type="tiles">
330                                 page.displayknowledge
331                         </result>
332                 </action>
333                 <action name="knowledge-knowledge"
334                         class="displayKnowledgeAction" method="selectKnowledge">
335                         <result name="success" type="tiles">
336                                 page.displayknowledge
337                         </result>
338                 </action>
339                 <action name="close-knowledge" class="displayKnowledgeAction"
340                         method="close">
341                         <result name="success" type="tiles">page.home</result>
342                 </action>
343
344                 <!-- Edition of study
345                 -->
346                 <action name="edit-study" class="editStudyAction"
347                         method="edition">
348                         <result name="success" type="tiles">
349                                 page.displaystudy
350                         </result>
351                 </action>
352                 <action name="markasref-study" class="editStudyAction"
353                         method="markAsReference">
354                         <interceptor-ref name="simanBasicStack" />
355                         <result name="success" type="tiles">
356                                 page.displaystudy
357                         </result>
358                 </action>
359                 <action name="removeasref-study" class="editStudyAction"
360                         method="removeAsReference">
361                         <interceptor-ref name="simanBasicStack" />
362                         <result name="success" type="tiles">
363                                 page.displaystudy
364                         </result>
365                 </action>
366                 
367                 <action name="valid-rename" class="editScenarioPropertiesAction"
368                         method="editScenarioTitle">
369                         <interceptor-ref name="simanBasicStack" />
370                         <result name="success" type="redirectAction">
371                                 open-study
372                         </result>
373                 </action>
374                 
375                 <action name="add-scenario" class="newScenarioAction"
376                         method="initialize">
377                         <result name="success" type="tiles">
378                                 page.newscenario
379                         </result>
380                 </action>
381                 <action name="edit-title" class="studyPropertiesAction"
382                         method="editTitle">
383                         <result name="success" type="tiles">
384                                 page.editstudyproperties
385                         </result>
386                 </action>
387                 <action name="edit-contributor" class="studyPropertiesAction"
388                         method="editContributors">
389                         <result name="success" type="tiles">
390                                 page.editstudyproperties
391                         </result>
392                 </action>
393                 <action name="edit-cycle" class="studyPropertiesAction"
394                         method="editCycle">
395                         <result name="success" type="tiles">
396                                 page.editstudyproperties
397                         </result>
398                 </action>
399                 <action name="select-step" class="newScenarioAction"
400                         method="selectStep">
401                         <result name="success" type="tiles">
402                                 page.newscenario
403                         </result>
404                 </action>
405                 <action name="valid-add" class="newScenarioAction"
406                         method="create">
407             <interceptor-ref name="simanBasicStack"/>
408             <interceptor-ref name="siman-validation"/>
409                         <result name="cancel" type="redirectAction">
410                                 step-study
411                         </result>
412                         <result name="success" type="redirectAction">
413                                 step-study
414                         </result>
415                         <result name="error" type="tiles">page.displaystudy</result>
416                 </action>
417                 <action name="valid-edit" class="studyPropertiesAction"
418                         method="edition">
419             <interceptor-ref name="simanBasicStack"/>
420             <interceptor-ref name="siman-validation"/>
421                         <result name="success" type="tiles">
422                                 page.editstudyproperties
423                         </result>
424                 </action>
425                 <action name="prop-scenario"
426                         class="editScenarioPropertiesAction" method="initialize">
427                         <result name="success" type="tiles">
428                                 page.editscenarioproperties
429                         </result>
430                 </action>
431         <action name="init-edit-readers" class="studyPropertiesAction"
432             method="initEditReaders">
433             <result name="success" type="tiles">
434                 page.editstudyproperties
435             </result>
436         </action>
437
438                 <!-- Edition of scenario
439                 -->
440                 <action name="checkin-scenario"
441                         class="editScenarioPropertiesAction" method="checkin">
442                         <result name="success" type="tiles">
443                                 page.displaystudy
444                         </result>
445                 </action>
446
447                 <!-- Edition of simulation contexts
448                 -->
449                 <action name="add-context" class="editSimulationContextAction"
450                         method="initialize">
451                         <result name="create" type="tiles">page.newcontext</result>
452                         <result name="select" type="tiles">
453                                 page.selectcontext
454                         </result>
455                 </action>
456                 <action name="selectContext" class="editSimulationContextAction"
457                         method="selectContext">
458                         <result name="create" type="tiles">page.newcontext</result>
459                         <result name="set" type="tiles">page.setcontext</result>
460                 </action>
461                 <action name="newContext" class="editSimulationContextAction"
462                         method="createContext">
463                         <result name="success" type="tiles">
464                                 page.displaystudy
465                         </result>
466                         <result name="input" type="tiles">page.newcontext</result>
467                         <result name="error" type="tiles">page.displaystudy</result>
468                 </action>
469                 <action name="setContext" class="editSimulationContextAction"
470                         method="setContext">
471                         <result name="success" type="tiles">
472                                 page.displaystudy
473                         </result>
474                         <result name="input" type="tiles">page.setcontext</result>
475                         <result name="error" type="tiles">page.displaystudy</result>
476                 </action>
477                 <action name="remove-context"
478                         class="editSimulationContextAction" method="deleteContext">
479                         <result name="success" type="tiles">
480                                 page.displaystudy
481                         </result>
482                         <result name="error" type="tiles">page.displaystudy</result>
483                 </action>
484
485                 <!-- Edition of documents
486                 -->
487                 <action name="select-file" class="uploadAction"
488                         method="initializeStudy">
489                         <result name="success" type="tiles">
490                                 page.uploadstudy
491                         </result>
492                 </action>
493                 <action name="upload" class="uploadAction" method="upload">
494             <interceptor-ref name="file-upload" />
495             <interceptor-ref name="simanBasicStack" />
496                         <result name="cancel" type="redirectAction">
497                                 step-study
498                         </result>
499                         <result name="import" type="redirectAction">
500                                 import-document?fileName=%{canceledFileName}
501                         </result>
502                         <result name="version" type="redirectAction">
503                                 version-document?index=%{index}&amp;fileName=%{canceledFileName}
504                         </result>
505             <result name="attach" type="redirectAction">
506                 attach-document?index=%{index}&amp;fileName=%{canceledFileName}
507             </result>
508             <result name="replace" type="redirectAction">
509                 replace-document?index=%{index}&amp;fileName=%{canceledFileName}
510             </result>
511                         <result name="outofmemory" type="tiles">
512                                 page.error.study
513                         </result>
514                 </action>
515                 <action name="import-document" class="importDocumentAction"
516                         method="initialize">
517                         <result name="success" type="tiles">
518                                 page.importdocument
519                         </result>
520                         <result name="error" type="tiles">page.importerror</result>
521                 </action>
522                 <action name="valid-import" class="importDocumentAction"
523                         method="import">
524             <interceptor-ref name="simanBasicStack"/>
525             <interceptor-ref name="siman-validation"/>
526                         <result name="success" type="redirectAction">
527                                 step-study
528                         </result>
529                         <result name="cancel" type="redirectAction">
530                                 step-study
531                         </result>
532                         <result name="error" type="tiles">page.importerror</result>
533                 </action>
534                 <action name="version-document" class="versionDocumentAction"
535                         method="initialize">
536                         <result name="success" type="tiles">
537                                 page.versiondocument
538                         </result>
539                         <result name="error" type="tiles">page.importerror</result>
540                 </action>
541                 <action name="valid-version" class="versionDocumentAction"
542                         method="version">
543                         <result name="success" type="redirectAction">
544                                 step-study
545                         </result>
546                         <result name="cancel" type="redirectAction">
547                                 step-study
548                         </result>
549                         <result name="error" type="tiles">page.importerror</result>
550                 </action>
551         <action name="attach-document" class="editDocumentAction"
552             method="attach">
553             <result name="success" type="tiles">
554                 page.displaystudy
555             </result>
556         </action>
557         <action name="replace-document" class="editDocumentAction"
558             method="replace">
559             <result name="success" type="tiles">
560                 page.displaystudy
561             </result>
562         </action>
563                 <action name="edit-document" class="editDocumentAction"
564                         method="initialize">
565                         <result name="success" type="tiles">
566                                 page.displaystudy
567                         </result>
568                 </action>
569                 <action name="setDocument" class="editDocumentAction"
570                         method="setDocument">
571                         <result name="success" type="tiles">
572                                 page.displaystudy
573                         </result>
574                 </action>
575                 <action name="remove-document" class="editDocumentAction"
576                         method="deleteDocument">
577                         <result name="success" type="tiles">
578                                 page.displaystudy
579                         </result>
580                         <result name="error" type="tiles">page.displaystudy</result>
581                 </action>
582
583                 <!-- Edition of knowledge elements
584                 -->
585                 <action name="add-knowledge" class="editKnowledgeElementAction"
586                         method="initialize">
587                         <!--             <result name="success">/study/displayStudy.jsp?action=addKnowledge&amp;index=%{knowledgeType}</result>-->
588                         <result name="success" type="tiles">
589                                 page.displaystudy
590                         </result>
591                 </action>
592                 <action name="edit-knowledge" class="editKnowledgeElementAction"
593                         method="initialize">
594                         <result name="success" type="tiles">
595                                 page.displaystudy
596                         </result>
597                 </action>
598                 <action name="setKnowledge" class="editKnowledgeElementAction"
599                         method="setKnowledge">
600             <interceptor-ref name="simanBasicStack"/>
601             <interceptor-ref name="siman-validation"/>
602                         <result name="success" type="redirectAction">
603                 study/open-study
604             </result>
605                 </action>
606                 <action name="remove-knowledge"
607                         class="editKnowledgeElementAction" method="deleteKnowledge">
608                         <result name="success" type="tiles">
609                                 page.displaystudy
610                         </result>
611                         <result name="error" type="tiles">page.displaystudy</result>
612                 </action>
613                 <action name="promote-knowledge"
614                         class="editKnowledgeElementAction" method="promoteKnowledge">
615                         <result name="success" type="tiles">
616                                 page.displaystudy
617                         </result>
618                 </action>
619                 <action name="demote-knowledge"
620                         class="editKnowledgeElementAction" method="demoteKnowledge">
621                         <result name="success" type="tiles">
622                                 page.displaystudy
623                         </result>
624                 </action>
625                 
626                 <!-- Edition of step
627           -->
628         <action name="display-comments"
629             class="editStepCommentAction" method="displayComments">
630             <result name="success" type="tiles">zone.stepcomments</result>
631         </action>
632         
633         <action name="create-stepComment" class="editStepCommentAction" method="create">
634             <result name="success" type="tiles">zone.stepcomments</result>
635         </action>     
636         <action name="remove-comment" class="editStepCommentAction" method="remove">
637             <result name="success" type="tiles">zone.stepcomments</result>
638         </action>
639         <action name="edit-comment" class="editStepCommentAction" method="edit">
640             <result name="success" type="tiles">zone.stepcomments</result>
641         </action>
642         
643         <!-- Edition of study description -->
644         <action name="display-description"
645             class="editStudyDescriptionAction" method="displayDescription">
646             <result name="success" type="tiles">zone.description</result>
647         </action>
648         <action name="set-description"
649             class="editStudyDescriptionAction" method="setDescription">
650             <result name="success" type="tiles">zone.description</result>
651         </action>
652         <action name="remove-description"
653             class="editStudyDescriptionAction" method="removeDescription">
654             <result name="success" type="tiles">zone.description</result>
655         </action>
656         
657         <!-- Comparison of studies
658           -->     
659         <action name="init-study-comparison" class="CompareStudyAction" method="initComparison">
660             <result name="success" type="tiles">page.comparestudy</result>
661             <result name="error" type="tiles">page.comparestudy</result>
662         </action>
663         <action name="compare-studies" class="CompareStudyAction" method="compare">
664                         <result name="success"  type="stream" >
665                             <param name="inputName">resultInputStream</param>
666                             <param name="contentType">application/octet-stream</param>
667                                 <param name="contentDisposition">attachment;filename="ComparisonResults.pdf"</param>
668                                 <param name="bufferSize">1024</param>
669                                 <param name="contentLength"></param>
670                         </result>
671             <result name="error" type="redirectAction">
672                     <param name="actionName">init-study-comparison</param>
673                     <param name="errorMessage">${true}</param>
674                 </result>
675         </action>
676         </package>
677
678
679         <package name="sadmin" namespace="/sadmin"
680                 extends="simer-default">
681
682                 <result-types>
683                         <result-type name="tiles"
684                                 class="org.apache.struts2.views.tiles.TilesResult" />
685                 </result-types>
686
687                 <!-- Menus of database administration
688                 -->
689                 <action name="indexing" class="databaseIndexingAction"
690                         method="initialize">
691                         <result name="success" type="tiles">
692                                 page.indexstudies
693                         </result>
694                 </action>
695                 <action name="valid-indexing" class="databaseIndexingAction"
696                         method="indexing">
697                         <result name="success" type="redirectAction">
698                                 ../study/search-study
699                         </result>
700                 </action>
701                 <action name="select-file" class="uploadAction"
702                         method="initializeSysAdmin">
703                         <result name="success" type="tiles">
704                                 page.uploadsadmin
705                         </result>
706                 </action>
707                 <action name="upload" class="uploadAction" method="upload">
708             <interceptor-ref name="file-upload" />
709             <interceptor-ref name="simanBasicStack" />
710                         <result name="cancel" type="tiles">page.home</result>
711                         <result name="importuser" type="redirectAction">
712                                 importuser?fileName=%{fileName}
713                         </result>
714                 </action>
715                 <action name="importuser" class="importUserAction"
716                         method="import">
717                         <result name="success" type="tiles">
718                                 page.displayuser
719                         </result>
720                 </action>
721
722                 <!-- Menus of knowledge administration
723                 -->
724                 <action name="scontext" class="simulationContextAction"
725                         method="initialize">
726                         <result name="success">/sadmin/approveSContext.jsp</result>
727                 </action>
728                 <action name="scontext-edit" class="simulationContextAction"
729                         method="select">
730                         <result name="success">/sadmin/approveSContext.jsp</result>
731                 </action>
732                 <action name="knowelm" class="knowledgeElementAction"
733                         method="initialize">
734                         <result name="success">/sadmin/approveKnowelm.jsp</result>
735                 </action>
736         </package>
737
738 </struts>