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

📄 90a5143c790e001c153ef3d9473bb7bc

📁 一个购房管理系统,JSF+Hibernate+Mssql2
💻
字号:
<%@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>
			<h:messages errorStyle="color: red" infoStyle="color: green"
				layout="table" />
			<h1>
				New community
			</h1>
			<h:form enctype="multipart/form-data">
				<h:panelGrid columns="2">
					<h:outputText value="CommunityId:" />
					<h:inputText id="communityID"
						value="#{community.community.communityId}" title="CommunityId" />
					<h:outputText value="CommunityName:" />
					<h:inputText id="communityName"
						value="#{community.community.communityName}" title="CommunityName" />
					<h:outputText value="Address:" />
					<h:inputText id="address" value="#{community.community.address}"
						title="Address" />
					<h:outputText value="Developer:" />
					<h:inputText id="developer"
						value="#{community.community.developer}" title="Developer" />
					<h:outputText value="Tel1:" />
					<h:inputText id="tel1" value="#{community.community.tel1}"
						title="Tel1" />
					<h:outputText value="Tel2:" />
					<h:inputText id="tel2" value="#{community.community.tel2}"
						title="Tel2" />
					<h:outputText value="SellingAgents:" />
					<h:inputText id="sellingAgents"
						value="#{community.community.sellingAgents}" title="SellingAgents" />
					<h:outputText value="Property:" />
					<h:inputText id="property" value="#{community.community.property}"
						title="Property" />
					<h:outputText value="PublishTime (MM/dd/yyyy, hh:mm:ss):" />
					<h:inputText id="publishTime"
						value="#{community.community.publishTime}" title="PublishTime">
						<f:convertDateTime type="both" pattern="MM/dd/yyyy, hh:mm:ss" />
					</h:inputText>
					<h:outputText value="State:" />
					<h:inputText id="state" value="#{community.community.state}"
						title="State" />
					<h:outputText value="Introduce:" />
					<h:inputText id="introduce"
						value="#{community.community.introduce}" title="Introduce" />
					<h:outputText value="Image1:" />					
					<x:inputFileUpload id="image1" value="#{community.image1}" storage="file"
						required="true" />
					<h:outputText value="Image2:" />
					<x:inputFileUpload id="image2" value="#{community.image2}" storage="file"
						required="true" />
					<h:outputText value="Image3:" />
					<x:inputFileUpload id="image3" value="#{community.image3}" storage="file"
						required="true" />
					<h:outputText value="Image4:" />
					<x:inputFileUpload id="image4" value="#{community.image4}" storage="file"
						required="true" />
					<h:outputText value="Image5:" />
					<x:inputFileUpload id="image5" value="#{community.image5}" storage="file"
						required="true" />
					<h:outputText value="Image6:" />
					<x:inputFileUpload id="image6" value="#{community.image6}" storage="file"
						required="true" />
					<h:outputText value="Bz:" />
					<h:inputText id="bz" value="#{community.community.bz}" title="Bz" />
				</h:panelGrid>
				<h:commandLink action="#{community.create}" value="Create" />
				<br>
				<h:commandLink action="community_list" value="Show All Community" />
				<br>
				<a href="/housepro/index.jsp">Back to index</a>
			</h:form>
		</f:view>
	</body>
</html>

⌨️ 快捷键说明

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