// ==============================================================================================================================
/**
- * 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);
<!-- 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>