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

📄 propertyprofilecontent.jspf

📁 这是linux下ssl vpn的实现程序
💻 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/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_propertyProfile" class="tabbedForm">
	<bean:define id="targetUpdateAction" name="propertyProfileForm" property="updateAction"/>
	<html:form action="<%= String.valueOf(targetUpdateAction) %>">
		<html:hidden property="referer"/>
		<html:hidden property="actionTarget"/>
		<html:hidden property="_charset_"/>				
		<html:hidden property="editing"/>
		<html:hidden property="propertyScope"/>
		<html:hidden property="resourceId"/>
		<tabs:tabSet name="propertyProfileForm" bundle="properties" resourcePrefix="createPropertyProfile.tab">
			<tabs:tabHeadings/>
			<tabs:tab tabName="details">
				<table class="dialog_form_table" id="form">
					<tbody>
						<tr class="formText">
							<td class="label">
								<div class="required">
									<bean:message key="createPropertyProfile.shortName.label" bundle="properties"/>
								</div>
							</td>
							<td class="value">
								<logic:equal name="propertyProfileForm" property="resourceName" value="Default">			
									<html:hidden property="resourceName"/>
									<html:text tabindex="1" disabled="true" property="resourceName" maxlength="32"/>		                            
								</logic:equal>
								<logic:notEqual name="propertyProfileForm" 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="createPropertyProfile.description.label" bundle="properties"/>
								</div>
							</td>
							<td class="value">		                          
								<html:textarea tabindex="2" property="resourceDescription" cols="25" rows="5"/>
							</td>
						</tr>                           
						<logic:notEqual value="true" name="propertyProfileForm" property="editing">		                      	
							<tr class="formCombo">
								<td class="label">
									<bean:message key="createPropertyProfile.baseOn.label" bundle="properties"/>
								</td>
								<td class="value">		                          
									<html:select name="propertyProfileForm" property="selectedPropertyProfile">
										<html:optionsCollection name="propertyProfileForm" value="resourceId" label="label" property="propertyProfiles" />
									</html:select>
								</td>
							</tr>	
						</logic:notEqual> 
					</tbody>
				</table>
			</tabs:tab>					
			<logic:notEqual name="propertyProfileForm" property="propertyScope" value="<%= Constants.SCOPE_PERSONAL %>" > 
				<tabs:tab tabName="policies">				
					<logic:equal name="propertyProfileForm" property="resourceName" value="Default">			
						<input:multiSelectListBox 
							tabindex="3" 
							disabled="true"
							sourceTitleKey="policySelection.availablePolicies.title" 
							targetTitleKey="policySelection.selectedPolicies.title" 
							allowReordering="true"  
							upKey="policySelection.moveUp" 
							downKey="policySelection.moveDown" 
							addKey="policySelection.addPolicy" 
							removeKey="policySelection.removePolicy" 
							bundle="policyframework" 
							styleClass="multiSelect" 
							modelName="propertyProfileForm" 
							modelProperty="policyModel" 
							name="propertyProfileForm" 
							property="selectedPolicies"/>
					</logic:equal>
					<logic:notEqual name="propertyProfileForm" property="resourceName" value="Default">			
						<input:multiSelectListBox 
							tabindex="3" 
							sourceTitleKey="policySelection.availablePolicies.title" 
							targetTitleKey="policySelection.selectedPolicies.title" 
							allowReordering="true"  
							upKey="policySelection.moveUp" 
							downKey="policySelection.moveDown" 
							addKey="policySelection.addPolicy" 
							removeKey="policySelection.removePolicy" 
							bundle="policyframework" 
							styleClass="multiSelect" 
							modelName="propertyProfileForm" 
							modelProperty="policyModel" 
							name="propertyProfileForm" 
							property="selectedPolicies"/>
					</logic:notEqual>
				</tabs:tab>		
			</logic:notEqual>		
		</tabs:tabSet>	
		<div class="button_bar">
			<div class="formButton">
				<html:submit styleClass="save" onclick="setActionTarget('commit'); return true"><bean:message key="createPropertyProfile.commit" bundle="properties"/></html:submit>
			</div>
			<logic:notEmpty name="propertyProfileForm" property="referer">
				<div class="formButton">
					<html:submit styleClass="cancel" onclick="setActionTarget('cancel'); return true"><bean:message key="createPropertyProfile.cancel" bundle="properties"/></html:submit>
				</div>
			</logic:notEmpty>
		</div>	
	</html:form>
</div>

⌨️ 快捷键说明

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