<td></td>
</tr>
<tr>
- <td align="right"><s:submit theme="simple" name="cancel"
- key="button.cancel" /> </td>
+ <td align="right">
+ <s:a action="step-study">
+ <button type='button'><s:text name="button.cancel"/></button>
+ </s:a>
+ </td>
<td align="left"><s:submit theme="simple" name="save"
key="button.import" /> <s:select theme="simple" id="documentState"
name="documentState" list="documentStates" listKey="value"
initializationScreenContext(Constants.STUDY_MENU, Constants.STUDY_MENU,
Constants.TRUE);
- if (_action == ToDo.cancel) {
- res = "cancel";
- } else if (_documentType == 0) {
+ if (_documentType == 0) {
setErrorCode("message.error.import.type");
initializationFullScreenContext(Constants.STUDY_MENU,
<result name="success" type="tiles">
page.displaystudy
</result>
+ <result name="error" type="tiles">page.home</result>
</action>
<action name="step-study" class="displayStudyStepAction"
method="selectStep">
<result name="success" type="redirectAction">
step-study
</result>
- <result name="cancel" type="redirectAction">
- step-study
- </result>
<result name="error" type="tiles">page.importerror</result>
</action>
<action name="version-document" class="versionDocumentAction"