📄 new.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>New CheckPayment</title>
</head>
<body>
<f:view>
<f:loadBundle basename="resources" var="label" />
<h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
<h:graphicImage url="../images/40.jpg" width="830" height="60"></h:graphicImage>
<h:form>
<h:panelGrid columns="2">
<h:outputText value="#{label.HouseName}" rendered="#{checkPayment.checkPayment.houseCheck == null}"/>
<h:selectOneMenu id="checkID" value="#{checkPayment.checkPayment.houseCheck}" title="CheckID" rendered="#{checkPayment.checkPayment.houseCheck == null}">
<f:selectItems value="#{checkPayment.checkIDs}"/>
</h:selectOneMenu>
<h:outputText value="#{label.PaymentStyle}"/>
<h:selectOneMenu id="paymentStyle" value="#{checkPayment.checkPayment.paymentStyle}" title="PaymentStyle" >
<f:selectItem itemValue="付订金" itemLabel="付订金" />
<f:selectItem itemValue="退订金" itemLabel="退订金" />
</h:selectOneMenu>
<h:outputText value="#{label.Payment}"/>
<h:inputText id="payment" value="#{checkPayment.checkPayment.payment}" title="Payment">
<f:converter converterId="javax.faces.Long" />
</h:inputText>
<h:outputText value="#{label.Bz}"/>
<h:inputTextarea id="bz" value="#{checkPayment.checkPayment.bz}"
title="Bz" rows="5" />
<h:commandButton action="#{checkPayment.create}" value="#{label.Create}"/>
<h:commandButton action="checkPayment_list" value="#{label.ShowAllCheckPayment}"/>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -