📄 list.jsp
字号:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>List CheckPayment</title>
</head>
<body>
<f:view>
<f:loadBundle basename="resources" var="label" />
<h:form>
<table width="850" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img id="_id1" src="../images/27.jpg" height="60" width="100%" />
</td>
</tr>
<tr>
<td width="100%" align="center">
<table width="650" border="0" cellspacing="0">
<tr>
<td style="background-color: #cc0001;" height="26">
<div style="color:#FFFFFF;font-size:14px; font-family:'
宋体'; font-weight:bold;" align="left">
<h:outputText value="#{label.ListingCheckPayments}" />
</div>
</td>
</tr>
<tr>
<td>
<h:dataTable value='#{checkPayment.model}' var='item'
border="1" cellpadding="0" cellspacing="0" width="650">
<h:column>
<f:facet name="header">
<h:outputText value="#{label.CheckPaymentID}" />
</f:facet>
<h:commandLink action="#{checkPayment.detailSetup}"
value="#{item.checkPaymentId}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.PaymentStyle}" />
</f:facet>
<h:outputText value="#{item.paymentStyle}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.PaymentTime}" />
</f:facet>
<h:outputText value="#{item.paymentTime}">
<f:convertDateTime type="date" pattern="yyyy-MM-dd" />
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.Payment}" />
</f:facet>
<h:outputText value="#{item.payment}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.Bz}" />
</f:facet>
<h:outputText value="#{item.bz}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.CheckID}" />
</f:facet>
<h:outputText value="#{item.houseCheck.checkId}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{label.Action}" />
</f:facet>
<h:commandLink value="#{label.Destroy}"
action="#{checkPayment.destroy}">
<f:param name="checkPaymentID"
value="#{item.checkPaymentId}" />
</h:commandLink>
<h:outputText value=" " />
<h:commandLink value="#{label.Edit}"
action="#{checkPayment.editSetup}">
<f:param name="checkPaymentID"
value="#{item.checkPaymentId}" />
</h:commandLink>
</h:column>
</h:dataTable>
</td>
</tr>
<tr>
<td>
<h:outputText
value="#{label.The}#{checkPayment.itemCount==0?0:checkPayment.firstItem + 1}--#{checkPayment.lastItem}#{label.Item}/#{label.AmountTo}#{checkPayment.itemCount}#{label.Item}" />
<h:commandLink action="#{checkPayment.prev}"
value="#{label.Previous}#{checkPayment.batchSize}#{label.Item}"
rendered="#{checkPayment.firstItem >= checkPayment.batchSize}" />
<h:commandLink action="#{checkPayment.next}"
value="#{label.Next}#{checkPayment.batchSize}#{label.Item}"
rendered="#{checkPayment.lastItem + checkPayment.batchSize <= checkPayment.itemCount}" />
<h:commandLink action="#{checkPayment.next}"
value="#{label.Remaining}#{checkPayment.itemCount - checkPayment.lastItem}#{label.Item}"
rendered="#{checkPayment.lastItem < checkPayment.itemCount && checkPayment.lastItem + checkPayment.batchSize > checkPayment.itemCount}" />
</td>
</tr>
<tr>
<td height="25">
</td>
</tr>
<tr>
<td>
<table width="650" border="0" cellspacing="0">
<tr>
<td align="center">
按照
</td>
<td align="right">
<h:selectOneMenu value="#{checkPayment.queryProperty}">
<f:selectItem itemValue="checkPaymentId"
itemLabel="#{label.CheckPaymentID}" />
<f:selectItem itemValue="paymentTime"
itemLabel="#{label.PaymentTime}" />
<f:selectItem itemValue="houseCheck.checkId"
itemLabel="#{label.CheckID}" />
<f:selectItem itemValue="all"
itemLabel="#{label.QueryByAll}" />
</h:selectOneMenu>
</td>
<td align="left">
<h:inputText id="queryValue"
value="#{checkPayment.queryValue}" title="queryValue" />
<h:commandButton action="#{checkPayment.findCheckPayments}"
value="#{label.Query}" />
</td>
<td align="center">
<div align="center">
<h:commandButton action="#{checkPayment.createSetup}"
value="#{label.NewCheckPayment}" />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center">
<table width="650" border="0" cellspacing="0">
<tr>
<td align="left">
<h:messages errorStyle="color: red" infoStyle="color: green" layout="table" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</h:form>
</f:view>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -