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

📄 bussupdateuidata.jsp

📁 java电信经典-学习例子源代码
💻 JSP
字号:
<%@ page  pageEncoding="gb2312" isELIgnored="false"%>
<%@ taglib   uri="http://struts.apache.org/tags-html"  prefix="ui" %>
<!-- 标准标记库 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="lg" uri="http://struts.apache.org/tags-logic" %>
<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>
	<tr>
		<td width='40' background='${pageContext.request.contextPath}/images/index_26.jpg'>&nbsp;</td>
		<!--内容区导航开始-->
		<td align='left' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
		<table border='0' cellspacing='0' cellpadding='0'>
			<tr>				
				<td height='31' background='${ pageContext.request.contextPath}/images/ctitle_bak_fcenter.jpg'>
				<a href='..index.html'  class=channel_title>首页</a>
				<ui:img page='/images/sy_2_18.jpg' border='0'/>
				<a href='${ pageContext.request.contextPath}${module.url}?method=index&moduleid=${module.id}'  class=channel_title>资费管理首页</a>
				<ui:img page='/images/sy_2_18.jpg' border='0'/>
				<a href='${ pageContext.request.contextPath}${module.url}?method=updateBuss'  class=channel_title>业务修改输入</a>
				</td>
			</tr>
		</table>
		</td>
		<!--内容区导航结束-->
		<td align='left' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>&nbsp;</td>
		<td width='13' align='right' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
		<ui:img page='/images/ctitle_bak_right.jpg' width='10' height='31'/>
		</td>
	</tr>
</table>

<table width='100%' border='1' cellspacing='0' cellpadding='0'>
	<tr width="100%" height="300px">
		<!-- 显示查询UI -->
		<td align="center" valign="top">		
		<ui:form method="post" action="/users/bussoper.do?method=update">
			<table border="0"  cellspacing='0' cellpadding='0' width="50%" height="80%">
			<tr>
				<td align="right" valign="top">业务ID:</td>
				<td align="left" valign="top"><ui:text property="id" style="WIDTH:170px"  readonly="true"/><ui:errors property="id"/></td>
			</tr>
			<tr>
				<!-- 只是显示而已,不能修改的 -->
				<td align="right" valign="top">用户姓名:</td>				
				<td align="left" valign="top">
					<ui:text property="userid"  value="${ur.userid.name}"  style="WIDTH:170px" disabled="true"/>
				</td>
			</tr>		
			<tr>
				<td align="right" valign="top">业务登录名:</td>
				<td align="left" valign="top"><ui:text property="loginname" style="WIDTH:170px"/><ui:errors property="loginname"/></td>
			</tr>
			<tr>
				<td align="right" valign="top">业务登录密码:</td>				
				<td align="left"  valign="top"><ui:text property="loginpassword" style="WIDTH:170px"/><ui:errors property="loginpassword"/></td>
				
			</tr>
			<tr>
				<td align="right" valign="top">实验室IP:</td>
				<td align="left" valign="top"><ui:text property="labip" style="width:170px;"/><ui:errors property="labip"/></td>	
			</tr>			
			<tr>
				<td align="right" valign="top">状态:</td>
				<td align="left" valign="top">					
					<ui:select property="status" style="width:170px;">
						<c:if test="${form.status eq 0 }">
							<option value="0" selected>开通</option>
							<option value="1">暂停</option>
						</c:if>
						<c:if test="${form.status ne 0 }">
							<option value="0">开通</option>
							<option value="1" selected>暂停</option>
						</c:if>
					</ui:select>
					<ui:errors property="status"/>
				</td>	
			</tr>
			<tr>
				<td align="right" valign="top">资费类型:</td>
				<td align="left" valign="top">
					<ui:select property="priceid"  style="WIDTH:170px">
						<c:forEach var="linepr"  items="${requestScope.lstpricings}">							
							<c:if test="${form.priceid eq linepr.id}">
							<option value="${linepr.id}" selected><c:out value="${linepr.name}"/></option>
							</c:if>
							<c:if test="${form.priceid ne linepr.id}">
							<option value="${linepr.id}"><c:out value="${linepr.name}"/></option>
							</c:if>
						</c:forEach>
					</ui:select>
					<ui:errors property="priceid"/>
				</td>	
			</tr>
				
			<tr>
				<td  align="center" colspan="2">
					<ui:submit value="修改"/>&nbsp;&nbsp;&nbsp;&nbsp;<ui:reset value="取消"/> 
				</td>
			</tr>
			</table>
		</ui:form>
			
		</td>
	</tr>

	<tr width="100%"  height="20px" style="background-color:#c0c0c0;">
		<!-- 错误提示行 -->
			<td align="left"><font color="blue">提示:</font><ui:errors property="user.insert"/></td>
	</tr>
</table>

⌨️ 快捷键说明

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