📄 wizardfinish.jspf
字号:
<%@ page import="com.sslexplorer.wizard.WizardActionStatus" %>
<%@ page import="com.sslexplorer.wizard.AbstractWizardSequence" %>
<%@ page import="com.sslexplorer.security.Constants" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<div id="wizardFinish">
<% AbstractWizardSequence seq = (AbstractWizardSequence)request.getSession().getAttribute(Constants.WIZARD_SEQUENCE); %>
<table>
<logic:iterate name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="actionStatus" type="com.sslexplorer.wizard.WizardActionStatus" id="actionStatus">
<% String bundle = actionStatus.getBundle() == null ? seq.getCurrentPageForm().getResourceBundle() : actionStatus.getBundle(); %>
<tr class="formBlock">
<td class="value">
<logic:equal name="actionStatus" property="status" value="<%= String.valueOf(WizardActionStatus.COMPLETED_OK) %>">
<span class="statusOk"><bean:message key="<%= actionStatus.getKey() %>" bundle="<%= bundle %>" arg0="<%= actionStatus.getArg0() %>" arg1="<%= actionStatus.getArg1() %>" arg2="<%= actionStatus.getArg2() %>" arg3="<%= actionStatus.getArg3() %>" arg4="<%= actionStatus.getArg4() %>"/></span>
</logic:equal>
<logic:equal name="actionStatus" property="status" value="<%= String.valueOf(WizardActionStatus.COMPLETED_WITH_WARNINGS) %>">
<span class="statusWarning"><bean:message key="<%= actionStatus.getKey() %>" bundle="<%= bundle %>" arg0="<%= actionStatus.getArg0() %>" arg1="<%= actionStatus.getArg1() %>" arg2="<%= actionStatus.getArg2() %>" arg3="<%= actionStatus.getArg3() %>" arg4="<%= actionStatus.getArg4() %>"/></span>
</logic:equal>
<logic:equal name="actionStatus" property="status" value="<%= String.valueOf(WizardActionStatus.COMPLETED_WITH_ERRORS) %>">
<span class="statusError"><bean:message key="<%= actionStatus.getKey() %>" bundle="<%= bundle %>" arg0="<%= actionStatus.getArg0() %>" arg1="<%= actionStatus.getArg1() %>" arg2="<%= actionStatus.getArg2() %>" arg3="<%= actionStatus.getArg3() %>" arg4="<%= actionStatus.getArg4() %>"/></span>
</logic:equal>
</td>
</tr>
</logic:iterate>
<tfoot>
<tr class="formBlock">
<td>
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedWithErrors" value="true">
<bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".completedWithErrors" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/>
</logic:equal>
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedWithErrors" value="false">
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedWithWarnings" value="true">
<bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".completedWithWarnings" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/>
</logic:equal>
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedWithWarnings" value="false">
<bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".allOk" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/>
</logic:equal>
</logic:equal>
</td>
</tr>
<tr class="formBlock">
<td>
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedOk" value="true">
<html:submit property="finish" styleClass="exit" onclick="setActionTarget('exit'); return true"><bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".exit" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/></html:submit>
</logic:equal>
<logic:equal name="<%= seq.getCurrentPageForm().getPageName() + "Form" %>" property="completedOk" value="false">
<html:submit property="rerun" styleClass="retry" onclick="setActionTarget('rerun'); return true"><bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".rerun" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/></html:submit>
<html:submit property="exit" styleClass="cancel" onclick="setActionTarget('exit'); return true"><bean:message key="<%= seq.getCurrentPageForm().getResourcePrefix() + ".exit" %>" bundle="<%= seq.getCurrentPageForm().getResourceBundle() %>"/></html:submit>
</logic:equal>
</td>
</tr>
</tfoot>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -