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

📄 userattributescontent.jspf

📁 这是linux下ssl vpn的实现程序
💻 JSPF
字号:
<%@ page import="com.sslexplorer.security.UserAttributeDefinition" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<%@ taglib uri="/sslexplorer/taglibs/tabs" prefix="tabs" %>
<%@ taglib uri="/sslexplorer/taglibs/input" prefix="input" %>

<div id="page_userAttributes" class="tabbedForm">
	<explorer:form action="/userAttributes.do">	
		<html:hidden property="actionTarget" />
		<html:hidden property="_charset_"/>		
		<html:hidden property="referer"/>		
		<tabs:tabSet name="userAttributesForm" bundle="security" resourcePrefix="createAccount.tab">
			<tabs:tabHeadings/>			
			<logic:iterate indexId="categoryIdx" name="userAttributesForm" property="categoryIds" id="category" type="java.lang.String">							
				<tabs:tab tabName="<%= category %>">
					<table class="dialog_form_table">
						<tbody>							
							<logic:iterate id="userAttributeValueItems" name="userAttributesForm" property="userAttributeValueItems"
										type="com.sslexplorer.security.UserAttributeValueItem">
								<logic:equal name="userAttributeValueItems" property="categoryId" value="<%= category %>">
									<logic:equal name="userAttributeValueItems" property="definition.visibility" value="<%= String.valueOf(UserAttributeDefinition.USER_OVERRIDABLE_ATTRIBUTE) %>">									
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_STRING) %>">										
											<tr class="formText">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<html:text indexed="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_PASSWORD) %>">
											<tr class="formPassword">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<input:password autocomplete="false" indexed="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
									</logic:equal>
									<logic:equal name="userAttributeValueItems" property="definition.visibility" value="<%= String.valueOf(UserAttributeDefinition.USER_VIEWABLE_ATTRIBUTE) %>">
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_STRING) %>">										
											<tr class="formText">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<html:text indexed="true" disabled="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_PASSWORD) %>">
											<tr class="formPassword">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<input:password disabled="true" autocomplete="false" indexed="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
									</logic:equal>
									<logic:equal name="userAttributeValueItems" property="definition.visibility" value="<%= String.valueOf(UserAttributeDefinition.USER_CONFIDENTIAL_ATTRIBUTE) %>">
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_STRING) %>">										
											<tr class="formText">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<html:text indexed="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
										<logic:equal name="userAttributeValueItems" property="definition.type" value="<%= String.valueOf(UserAttributeDefinition.TYPE_PASSWORD) %>">
											<tr class="formPassword">
												<td class="label">
													<bean:write name="userAttributeValueItems" property="label"/>
												</td>
												<td class="value">
													<input:password autocomplete="false" indexed="true" name="userAttributeValueItems" property="value"/>
												</td>
											</tr>
										</logic:equal>
									</logic:equal>
								</logic:equal>			
							</logic:iterate>
						</tbody>
					</table>		
				</tabs:tab>
			</logic:iterate>
		</tabs:tabSet>		
		<div class="button_bar">
			<div class="formButton">
				<input class="save" type="submit" onClick="return setActionTarget('commit');"
					value="<bean:message key='createAccount.commit' bundle='security'/>" />
			</div>
			<logic:notEmpty name="userAttributesForm" property="referer">
				<div class="formButton">
					&nbsp;<input class="cancel" type="button" onclick="javascript: self.location = '<bean:write name="userAttributesForm" property="referer"/>'" value="<bean:message key='createAccount.cancel' bundle='security' />" />
				</div>
			</logic:notEmpty>
		</div>
	</explorer:form>                   
</div>

⌨️ 快捷键说明

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