📄 webforwardcontent.jspf
字号:
<%@ page import="com.sslexplorer.security.Constants"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="/sslexplorer/taglibs/navigation" prefix="navigation"%>
<%@ taglib uri="/sslexplorer/taglibs/security" prefix="security"%>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer"%>
<%@ taglib uri="/sslexplorer/taglibs/input" prefix="input"%>
<%@ taglib uri="/sslexplorer/taglibs/tabs" prefix="tabs"%>
<%@ taglib uri="/sslexplorer/taglibs/webforwards" prefix="webforwards"%>
<div id="page_webForward" class="tabbedForm">
<explorer:form action="/editWebForward.do" focus="resourceName">
<html:hidden property="referer" />
<html:hidden property="actionTarget" />
<html:hidden property="_charset_" />
<html:hidden property="editing" />
<html:hidden property="resourceId" />
<html:hidden property="selectedTab" />
<tabs:tabSet name="webForwardForm" bundle="webForwards" resourcePrefix="editWebForward.tab">
<tabs:tabHeadings />
<tabs:tab tabName="details">
<table class="dialog_form_table">
<tbody>
<tr class="formText">
<td class="label">
<div class="required">
<bean:message key="editWebForward.shortName.label" bundle="webForwards" />
</div>
</td>
<td class="value">
<logic:equal name="webForwardForm" property="resourceName" value="Default">
<html:hidden property="resourceName" />
<html:text tabindex="1" disabled="true" property="resourceName" maxlength="32" />
</logic:equal>
<logic:notEqual name="webForwardForm" property="resourceName" value="Default">
<html:text tabindex="1" disabled="false" property="resourceName" maxlength="32" />
</logic:notEqual>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="editWebForward.description.label" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:textarea styleClass="fullWidth" tabindex="2" property="resourceDescription" />
</td>
</tr>
<tr class="formCheckbox">
<td class="label">
<bean:message key="editResource.addToFavorites" bundle="policyframework" />
</td>
<td class="value">
<html:checkbox tabindex="3" property="favorite" />
</td>
</tr>
</tbody>
</table>
</tabs:tab>
<tabs:tab tabName="attributes">
<table class="dialog_form_table">
<webforwards:showTunneledSite>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.destination.url" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text styleId="destinationURL" styleClass="threeQuartersWidth" tabindex="1" disabled="false" property="destinationURL" />
<input:variables inputId="destinationURL"/>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.category" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text tabindex="2" property="category" />
</td>
</tr>
</webforwards:showTunneledSite>
<webforwards:showreplacementProxy>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.destination.url" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text styleId="destinationURL" styleClass="threeQuartersWidth" property="destinationURL" />
<input:variables inputId="destinationURL"/>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.category" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text property="category" />
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.lable.encoding" bundle="webForwards" />
</td>
<td class="value">
<html:select property="encoding">
<html:optionsCollection value="value" label="label" property="encodeingTypeList" />
</html:select>
</td>
</tr>
<tr class="formMultiEntry">
<td class="label">
<bean:message key="webForward.lable.restrictToHosts" bundle="webForwards" />
</td>
<td class="value">
<input:multiEntryListBox addKey="webForward.lable.restrictToHosts.add" removeKey="webForward.lable.restrictToHosts.remove" entryTitleKey="webForward.lable.restrictToHosts.host" targetTitleKey="webForward.lable.restrictToHosts.allowed"
name="webForwardForm" styleClass="multiEntry" entrySize="16" property="restrictToHosts" bundle="webForwards" />
</td>
</tr>
</webforwards:showreplacementProxy>
<webforwards:showReverseProxy>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.destination.url" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text styleId="destinationURL" styleClass="fullWidth" tabindex="2" disabled="false" property="destinationURL" />
<input:variables inputId="destinationURL"/>
</td>
</tr>
<tr class="formMultiEntry">
<td class="label">
<bean:message key="webForward.lable.paths" bundle="webForwards" />
</td>
<td class="value">
<input:multiEntryListBox entryTitleKey="webForward.pathEntry.title" targetTitleKey="webForward.paths.title" addKey="webForward.addPath" removeKey="webForward.removePath" name="webForwardForm" styleClass="multiEntry" entryName="path" entrySize="16"
bundle="webForwards" property="paths" tabindex="2"/>
</td>
</tr>
<tr class="formCheckbox">
<td class="label">
<bean:message key="webForward.lable.active.dns" bundle="webForwards" />
</td>
<td class="value">
<logic:equal name="webForwardForm" property="activeDNS" value="true">
<html:checkbox name="webForwardForm" property="activeDNS" />
</logic:equal>
<logic:equal name="webForwardForm" property="activeDNS" value="false">
<html:checkbox name="webForwardForm" property="activeDNS" />
</logic:equal>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<bean:message key="webForward.lable.host.header" bundle="webForwards" />
</td>
<td class="value">
<html:text tabindex="2" property="hostHeader" />
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<div class="required">
<bean:message key="webForward.lable.category" bundle="webForwards" />
</div>
</td>
<td class="value">
<html:text tabindex="2" property="category" />
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.lable.encoding" bundle="webForwards" />
</td>
<td class="value">
<html:select property="encoding">
<html:optionsCollection value="value" label="label" property="encodeingTypeList" />
</html:select>
</td>
</tr>
</webforwards:showReverseProxy>
</table>
</tabs:tab>
<tabs:tab tabName="authentication">
<table class="dialog_form_table">
<webforwards:showTunneledSite>
<tr class="formTextArea">
<td class="label">
NONE
</td>
</tr>
</webforwards:showTunneledSite>
<webforwards:showreplacementProxy>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.label.formType" bundle="webForwards" />
</td>
<td class="value">
<html:select property="formType">
<html:optionsCollection value="value" label="label" property="formTypeList" />
</html:select>
</td>
</tr>
<tr class="formMultiEntry">
<td class="label">
<bean:message key="webForward.label.formParameters" bundle="webForwards" />
</td>
<td class="value">
<input:multiEntryListBox entryTitleKey="webForward.formParameterEntry.title" targetTitleKey="webForward.formParameters.title" addKey="webForward.addFormParameter" removeKey="webForward.removeFormParameter" name="webForwardForm"
styleClass="multiEntry" entryName="formParameter" entrySize="16" bundle="webForwards" property="formParameters" tabindex="2" showReplacementVariables="true" />
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.lable.preferred.scheme" bundle="webForwards" />
</td>
<td class="value">
<html:select property="preferredAuthenticationScheme">
<html:optionsCollection value="value" label="label" property="preferredAuthenticationSchemeList" />
</html:select>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<bean:message key="webForward.lable.authentication.username" bundle="webForwards" />
</td>
<td class="value">
<html:text styleId="authenticationUsername" property="authenticationUsername" />
<input:variables inputId="authenticationUsername"/>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<bean:message key="webForward.lable.authentication.password" bundle="webForwards" />
</td>
<td class="value">
<input:password styleId="authenticationPassword" autocomplete="false" property="authenticationPassword" />
<input:variables inputId="authenticationPassword"/>
</td>
</tr>
</webforwards:showreplacementProxy>
<webforwards:showReverseProxy>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.label.formType" bundle="webForwards" />
</td>
<td class="value">
<html:select property="formType">
<html:optionsCollection value="value" label="label" property="formTypeList" />
</html:select>
</td>
</tr>
<tr class="formMultiEntry">
<td class="label">
<bean:message key="webForward.label.formParameters" bundle="webForwards" />
</td>
<td class="value">
<input:multiEntryListBox entryTitleKey="webForward.formParameterEntry.title" targetTitleKey="webForward.formParameters.title" addKey="webForward.addFormParameter" removeKey="webForward.removeFormParameter" name="webForwardForm"
styleClass="multiEntry" entryName="formParameter" entrySize="16" bundle="webForwards" property="formParameters" tabindex="2" showReplacementVariables="true" />
</td>
</tr>
<tr class="formEditableList">
<td class="label">
<bean:message key="webForward.lable.preferred.scheme" bundle="webForwards" />
</td>
<td class="value">
<html:select property="preferredAuthenticationScheme">
<html:optionsCollection value="value" label="label" property="preferredAuthenticationSchemeList" />
</html:select>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<bean:message key="webForward.lable.authentication.username" bundle="webForwards" />
</td>
<td class="value">
<html:text styleId="authenticationUsername" property="authenticationUsername" />
<input:variables inputId="authenticationUsername"/>
</td>
</tr>
<tr class="formTextArea">
<td class="label">
<bean:message key="webForward.lable.authentication.password" bundle="webForwards" />
</td>
<td class="value">
<input:password styleId="authenticationPassword" autocomplete="false" property="authenticationPassword" />
<input:variables inputId="authenticationPassword"/>
</td>
</tr>
</webforwards:showReverseProxy>
</table>
</tabs:tab>
<tabs:tab tabName="policies">
<input:multiSelectListBox tabindex="3" sourceTitleKey="policySelection.availablePolicies.title" targetTitleKey="policySelection.selectedPolicies.title" addKey="policySelection.addPolicy" removeKey="policySelection.removePolicy" allowReordering="true"
upKey="policySelection.moveUp" downKey="policySelection.moveDown" bundle="policyframework" styleClass="multiSelect" modelName="webForwardForm" modelProperty="policyModel" name="webForwardForm" property="selectedPolicies" />
</tabs:tab>
</tabs:tabSet>
<div class="button_bar">
<div class="formButton">
<html:submit styleClass="save" onclick="setActionTarget('commit'); return true">
<bean:message key="editWebForward.commit" bundle="webForwards" />
</html:submit>
</div>
<logic:notEmpty name="webForwardForm" property="referer">
<div class="formButton">
<html:submit styleClass="cancel" onclick="setActionTarget('cancel'); return true">
<bean:message key="editWebForward.cancel" bundle="webForwards" />
</html:submit>
</div>
</logic:notEmpty>
</div>
</explorer:form>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -