detail.jsp

来自「一个购房管理系统,JSF+Hibernate+Mssql2」· JSP 代码 · 共 44 行

JSP
44
字号
<%@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>Detail of Customer</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/04.jpg" width="830" height="60"></h:graphicImage>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{label.CustomerID}" />
                    <h:outputText value="#{customer.customer.customerId}" title="CustomerID" />
                    <h:outputText value="#{label.CustomerName}" />
                    <h:outputText value="#{customer.customer.customerName}" title="CustomerName" />
                    <h:outputText value="#{label.Password}" />
                    <h:outputText value="#{customer.customer.password}" title="Password" />
                    <h:outputText value="#{label.Address}" />
                    <h:outputText value="#{customer.customer.address}" title="Address" />
                    <h:outputText value="#{label.Tel1}" />
                    <h:outputText value="#{customer.customer.tel1}" title="Tel1" />
                    <h:outputText value="#{label.Tel2}" />
                    <h:outputText value="#{customer.customer.tel2}" title="Tel2" />
                    <h:outputText value="#{label.Email}" />
                    <h:outputText value="#{customer.customer.email}" title="Email" />
                    <h:outputText value="#{label.IDCard}" />
                    <h:outputText value="#{customer.customer.idcard}" title="Idcard" />
                    <h:outputText value="#{label.RegisterTime}" />
                    <h:outputText value="#{customer.customer.registerTime}" title="RegisterTime" />
                    <h:outputText value="#{label.Bz}" />
                    <h:outputText value="#{customer.customer.bz}" title="Bz" />
                    <h:commandButton action="customer_edit" value="#{label.Edit}" />                
                	<h:commandButton action="customer_list" value="#{label.ShowAllCustomer}"/>   
                </h:panelGrid>                             
            </h:form>
        </f:view>
    </body>
</html>

⌨️ 快捷键说明

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