📄 cellphonedetailright.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ page import="com.longtime.wap.module.cellphone.web.form.CellphoneForm" %>
<table width="750" border="0" align="center" class="TableBack">
<html:hidden name="cellphoneForm" property="cellphoneId"/>
<html:hidden name="cellphoneForm" property="editFlug"/>
<html:hidden name="cellphoneForm" property="searchCompany"/>
<html:hidden name="cellphoneForm" property="searchType"/>
<html:hidden name="cellphoneForm" property="currentPage"/>
<html:hidden name="cellphoneForm" property="uniqueUa"/>
<html:hidden name="cellphoneForm" property="uniqueType"/>
<%
CellphoneForm cellphoneForm = (CellphoneForm) request
.getAttribute("cellphoneForm");
String editFlug = cellphoneForm.getEditFlug();
%>
<th colspan="3">
<%
if ("edit".equalsIgnoreCase(editFlug)) {
%>
编辑手机信息
<%
} else if ("view".equalsIgnoreCase(editFlug)){
%>
手机信息
<%
} else {
%>
新增手机信息
<%
}
%>
</th>
<tr>
<td class="tborder"></td>
<TD align="center">
<logic:notEmpty name="actionMessages" scope="request">
<logic:iterate id="message" name="actionMessages" scope="request">
<center>
<font color="red"><li>
<bean:write name="message" />
</li>
</font>
</center>
</logic:iterate>
</logic:notEmpty>
</TD>
<td class="tborder"></td>
</tr>
<logic:notEmpty name="wap_global_messages" scope="request">
<tr>
<td class="tborder"></td>
<TD colspan="2">
<logic:iterate id="message" name="wap_global_messages" scope="request">
<center>
<font color="red">
<li>
<bean:write name="message" />
</li>
</font>
</center>
</logic:iterate>
</TD>
<td class="tborder"></td>
</tr>
</logic:notEmpty>
<tr><td colspan="3"> </td></tr>
<tr>
<td class="tborder"></td>
<td>
<table width="95%" align="center" border="1" class="TableBack">
<tr>
<td align="right" width="50%">
手机UA :
</td>
<td width="50%">
<%
if ("view".equalsIgnoreCase(editFlug)) {
%>
<bean:write name="cellphoneForm" property="cellphoneUA"/>
<%
} else {
%>
<html:text property="cellphoneUA"></html:text> <FONT color="red">*</FONT>
<html:errors property="cellphoneUA"/>
<%
}
%>
</td>
</tr>
<tr>
<td align="right">
手机型号 :
</td>
<td>
<%
if ("view".equalsIgnoreCase(editFlug)) {
%>
<bean:write name="cellphoneForm" property="cellphoneType"/>
<%
} else {
%>
<html:text property="cellphoneType"></html:text> <FONT color="red">*</FONT>
<html:errors property="cellphoneType"/>
<%
}
%>
</td>
</tr>
<tr>
<td align="right">
厂 商 :
</td>
<td>
<%
if ("view".equalsIgnoreCase(editFlug)) {
%>
<bean:write name="cellphoneForm" property="cellphoneCompany"/>
<%
} else {
%>
<html:text property="cellphoneCompany"></html:text> <FONT color="red">*</FONT>
<html:errors property="cellphoneCompany"/>
<%
}
%>
</td>
</tr>
<tr>
<td align="right">
支持图片格式(最佳):
</td>
<td>
<%
if ("view".equalsIgnoreCase(editFlug)) {
%>
<bean:write name="cellphoneForm" property="cellphonePicture"/>
<%
} else {
%>
<html:select property="cellphonePicture">
<html:option value="">-请您选择-</html:option>
<html:option value="0">Png</html:option>
<html:option value="1">Jpg</html:option>
<html:option value="2">Bmp</html:option>
<html:option value="3">Gif</html:option>
</html:select> <FONT color="red">*</FONT>
<html:errors property="cellphonePicture" />
<%
}
%>
</td>
</tr>
</table>
</td>
<td class="tborder"></td>
</tr>
<tr><td colspan="3"> </td></tr>
<tr>
<td class="tborder"></td>
<td align="center">
<%
if ("view".equalsIgnoreCase(editFlug)) {
%>
<input type="button" name="button" value="返回" onclick="formSubmit('cellphoneForm', 'module/cellphone/cellphoneList.do?method=listCellphone')">
<%
} else {
%>
<input type="submit" name="save" value="保存">
<input type="reset" name="reset" value="重置">
<input type="button" name="button" value="返回" onclick="formSubmit('cellphoneForm', 'module/cellphone/cellphoneList.do?method=listCellphone')">
<%
}
%>
</td>
<td class="tborder"></td>
</tr>
<tr>
<td colspan="3" class="tborder"></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -