⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 new.jsp

📁 一个购房管理系统,JSF+Hibernate+Mssql2
💻 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"%>
<%@taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>New Community</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/41.jpg" width="830" height="60"></h:graphicImage>
			<h:form enctype="multipart/form-data">
				<h:panelGrid columns="2">					
					<h:outputText value="#{label.CommunityName}"/>
					<h:inputText id="communityName"
						value="#{community.community.communityName}" title="CommunityName" />
					<h:outputText value="#{label.Address}"/>
					<h:inputText id="address" value="#{community.community.address}"
						title="Address" />
					<h:outputText value="#{label.Developer}"/>
					<h:inputText id="developer"
						value="#{community.community.developer}" title="Developer" />
					<h:outputText value="#{label.Tel1}"/>
					<h:inputText id="tel1" value="#{community.community.tel1}"
						title="Tel1" />
					<h:outputText value="#{label.Tel2}"/>
					<h:inputText id="tel2" value="#{community.community.tel2}"
						title="Tel2" />
					<h:outputText value="#{label.SellingAgents}"/>
					<h:inputText id="sellingAgents"
						value="#{community.community.sellingAgents}" title="SellingAgents" />
					<h:outputText value="#{label.Property}"/>
					<h:inputText id="property" value="#{community.community.property}"
						title="Property" />
					<h:outputText value="#{label.PublishTime}"/>
					<h:inputText id="publishTime"
						value="#{community.community.publishTime}" title="PublishTime">
						<f:convertDateTime type="date" pattern="yyyy-MM-dd" />
					</h:inputText>
					<h:outputText value="#{label.State}"/>
					<h:inputText id="state" value="#{community.community.state}"
						title="State" />
					<h:outputText value="#{label.Introduce}"/>
					<h:inputText id="introduce"
						value="#{community.community.introduce}" title="Introduce" />
					<h:outputText value="#{label.Image1}"/>					
					<x:inputFileUpload id="image1" value="#{community.image1}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Image2}"/>
					<x:inputFileUpload id="image2" value="#{community.image2}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Image3}"/>
					<x:inputFileUpload id="image3" value="#{community.image3}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Image4}"/>
					<x:inputFileUpload id="image4" value="#{community.image4}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Image5}"/>
					<x:inputFileUpload id="image5" value="#{community.image5}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Image6}"/>
					<x:inputFileUpload id="image6" value="#{community.image6}" storage="file"
						required="flase" />
					<h:outputText value="#{label.Bz}"/>
					<h:inputText id="bz" value="#{community.community.bz}" title="Bz" />
					<h:commandButton action="#{community.create}" value="#{label.Create}" />				
					<h:commandButton action="#{community.back}" value="#{label.Back}" />	
				</h:panelGrid>							
			</h:form>
		</f:view>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -