⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 applicationshortcutcontent.jspf

📁 这是linux下ssl vpn的实现程序
💻 JSPF
字号:
<%@ page import="com.sslexplorer.security.Constants"%>
<%@ page import="com.sslexplorer.extensions.ShortcutParameterItem" %>
<%@ 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/explorer" prefix="explorer"%>
<%@ taglib uri="/sslexplorer/taglibs/navigation" prefix="navigation"%>
<%@ taglib uri="/sslexplorer/taglibs/security" prefix="security"%>
<%@ taglib uri="/sslexplorer/taglibs/input" prefix="input"%>
<%@ taglib uri="/sslexplorer/taglibs/tabs" prefix="tabs"%>

<div id="page_applicationShortcut" class="tabbedForm">
	<html:form action="/editApplicationShortcut.do">
		<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="applicationShortcutForm" bundle="extensions" resourcePrefix="editApplicationShortcut.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="editApplicationShortcut.shortName.label" bundle="extensions" />
								</div>
							</td>
							<td class="value">
								<html:text tabindex="1" disabled="false" property="resourceName" maxlength="32" />
							</td>
						</tr>
						<tr class="formTextArea">
							<td class="label">
								<div class="required">
									<bean:message key="editApplicationShortcut.description.label" bundle="extensions" />
								</div>
							</td>
							<td class="value">
								<html:textarea tabindex="2" property="resourceDescription" cols="25" rows="5" />
							</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="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="applicationShortcutForm" modelProperty="policyModel" name="applicationShortcutForm" property="selectedPolicies" />
			</tabs:tab>
			<logic:iterate name="applicationShortcutForm" property="categories" id="category" indexId="c" type="java.lang.String">
				<tabs:tab tabName="<%= category %>">
					<table class="resourceDetails">
						<%	int lastCategory = 0;
						 	int idx = 0;
						%>
						<logic:iterate name="applicationShortcutForm" property="parameterItems" id="parameterItem" indexId="i"
										type="com.sslexplorer.extensions.ShortcutParameterItem">	
							<%	int thisCategory = ((ShortcutParameterItem) parameterItem).getCategory();
								if(thisCategory == Integer.parseInt(category)) {
									if (thisCategory != -1 && (lastCategory == -1 || thisCategory != lastCategory)) {
										lastCategory = thisCategory;
									}
							%>							
								<%@ include file="/WEB-INF/jsp/content/extensions/parameterItem.jspf" %>		        
							<% 
							}
							idx++ ; 
							%>
						</logic:iterate>
					</table>
				</tabs:tab>
			</logic:iterate>
		</tabs:tabSet>
		<div class="button_bar">
			<div class="formButton">
				<html:submit styleClass="save" onclick="setActionTarget('commit'); return true">
					<bean:message key="editApplicationShortcut.commit" bundle="extensions" />
				</html:submit>
			</div>
			<logic:notEmpty name="applicationShortcutForm" property="referer">
				<div class="formButton">
					<html:submit styleClass="cancel" onclick="setActionTarget('cancel'); return true">
						<bean:message key="editApplicationShortcut.cancel" bundle="extensions" />
					</html:submit>
				</div>
			</logic:notEmpty>
		</div>
	</html:form>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -