📄 informationdetailtemp.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.front.web.form.InformationDetailForm"%>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<script type="text/javascript">
function payHOrRInformation(action){
var boolConfirm = confirm("你确认要购买此信息吗?")
if(boolConfirm){
formSubmit('informationDetailForm', action);
}else
return false;
}
</script>
<FORM METHOD=POST ACTION="informationDetail.do?method=buyInformation" id="informationDetailForm" onsubmit="return false;">
<html:hidden name="informationDetailForm" property="title"/>
<html:hidden name="informationDetailForm" property="cpName"/>
<html:hidden name="informationDetailForm" property="businessName"/>
<html:hidden name="informationDetailForm" property="categoryName"/>
<html:hidden name="informationDetailForm" property="price"/>
<html:hidden name="informationDetailForm" property="detailFlug"/>
<html:hidden name="informationDetailForm" property="category"/>
<%
if (null != request.getAttribute(FrontConstant.BUY_INFO_ERROR)){
String errorMsg = String.valueOf(request.getAttribute(FrontConstant.BUY_INFO_ERROR));
%>
<div align="center"><FONT color="red"><li><%=errorMsg%></FONT></div>
<%
}
%>
<table width="70%" border="1" align="center" class="TableFrontRightShow">
<%InformationDetailForm form = (InformationDetailForm) request
.getAttribute(FrontConstant.INFORMATION_DETAIL_FORM);%>
<th align="right" width="50%">
标题:
</th>
<th align="left" width="50%">
<%=form.getTitle()%>
</th>
<tr>
<td align="right">
发布单位:
</td>
<td align="left">
<%=form.getCpName()%>
</td>
</tr>
<tr>
<td align="right">
业务:
</td>
<td align="left">
<%=form.getBusinessName()%>
</td>
</tr>
<tr>
<td align="right">
分类:
</td>
<td align="left">
<%=form.getCategoryName()%>
</td>
</tr>
<tr>
<td align="right">
费用(单位:元):
</td>
<td align="left">
<%=form.getPrice()%>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" value=" 购买" onClick="payHOrRInformation('informationDetail.do?method=buyInformation&id=<%=form.getInformationId()%>')">
<input type="button" value=" 返回 " onClick="history.back()">
</td>
</tr>
</table>
</FORM>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -