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

📄 editinfo.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%@page contentType="text/html" pageEncoding="UTF-8"%><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%><%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%><%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><style type="text/css">.tCol1 {    width: 100px;}</style><f:view locale="#{localeBean.locale}"><html>   <head>       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">       <title>           <h:outputText value="修改基本资料"/>       </title>       <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/>   </head>   <body style="margin:0px">    <h:form>        <h:panelGrid border="0" width="100%"columns="1" cellpadding="3" cellspacing="3" styleClass="table2 infoH" headerClass="alignLeft">            <f:facet name="header">                <h:outputText value="修改基本资料"/>            </f:facet>            <h:messages globalOnly="true" showDetail="true" infoClass="infos" errorClass="errors" fatalClass="fatals"/>            <h:panelGrid border="0" columns="2" width="100%" cellpadding="3" cellspacing="3" styleClass="table1" columnClasses="tCol1,," rowClasses="row2,row1">                <h:outputText value="性别:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:selectOneMenu id="sex" value="#{user_editInfo.userinfo.sex}">                        <f:selectItem itemValue="0" itemLabel="保密"/>                        <f:selectItem itemValue="1" itemLabel="男"/>                        <f:selectItem itemValue="2" itemLabel="女"/>                    </h:selectOneMenu>                    <h:message for="sex" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="生日:" styleClass="colorOrange"/>                <h:panelGroup>                    <t:inputCalendar id="birthday" renderAsPopup="true"                    value="#{user_editInfo.birthday}">                        <f:convertDateTime type="date" pattern="yyyy-MM-dd"/>                    </t:inputCalendar>                    <h:message for="birthday" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="电子邮件:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:inputText id="email" value="#{user_editInfo.userinfo.email}"                                 validator="#{user_editInfo.emailFormatValidator}">                        <f:validateLength minimum="1" maximum="64"/>                    </h:inputText>                    <h:message for="email" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="即时通讯:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:inputText id="im" value="#{user_editInfo.userinfo.im}">                        <f:validateLength minimum="1" maximum="64"/>                    </h:inputText>                    <h:message for="im" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="联系电话:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:inputText id="phone" value="#{user_editInfo.userinfo.phone}">                        <f:validateLength minimum="1" maximum="32"/>                    </h:inputText>                    <h:message for="phone" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="地址:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:inputText id="address" size="40" value="#{user_editInfo.userinfo.address}">                        <f:validateLength minimum="1" maximum="128"/>                    </h:inputText>                    <h:message for="address" styleClass="errors"/>                </h:panelGroup>                <h:outputText value="个人主页:" styleClass="colorOrange"/>                <h:panelGroup>                    <h:inputText id="homepage" size="40" value="#{user_editInfo.userinfo.homepage}">                        <f:validateLength minimum="1" maximum="128"/>                    </h:inputText>                    <h:message for="homepage" styleClass="errors"/>                </h:panelGroup>                <h:panelGroup/>                <h:panelGroup>                    <h:commandButton value="确认修改" action="#{user_editInfo.update}"/>                </h:panelGroup>            </h:panelGrid>        </h:panelGrid>    </h:form>   </body></html></f:view>

⌨️ 快捷键说明

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