📄 informationsearchlistright.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="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="com.longtime.wap.model.Information"%>
<%@ page import="com.longtime.wap.common.enums.CategoryEnum"%>
<%@ page import="com.longtime.wap.module.front.web.form.SearchInformationForm" %>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<%@ taglib uri="/page-tag" prefix="page"%>
<html:form action="searchInformation.do?method=searchInfo" styleId="searchInfoForm">
<html:hidden property="searchValue"/>
<table border="1" align="center" width="90%" class="TableFrontRightShow">
<th>
标题
</th>
<th>
发布单位
</th>
<th>
业务
</th>
<th>
分类
</th>
<th>
费用(单位:元)
</th>
<%List infos = (List) request.getAttribute(FrontConstant.INFORMATIONS_LIST);
if (null != infos && infos.size() > 0) {
Iterator it = infos.iterator();
while (it.hasNext()) {
Information info = (Information) it.next();
%>
<tr>
<td>
<a href="informationDetail.do?method=getInformation&id=<%=info.getInformationId()%>"><%=info.getTitle()%></a>
</td>
<td align="center">
<%=info.getBusiness().getCp().getCompanyName()%>
</td>
<td align="center">
<%=info.getBusiness().getBusinessName()%>
</td>
<td align="center">
<%=CategoryEnum.getValue(
info.getBusiness().getCategory())
.toChinese()%>
</td>
<td align="center">
<%=info.getPrice()%>
</td>
</tr>
<%}
}
%>
<tr>
<td colspan="5">
<page:page_tag formName="searchInfoForm" action="searchInformation.do?method=searchInfo" />
</td>
</tr>
</table>
</html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -