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

📄 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;}.tCol3 {    vertical-align: top;    text-align: center;}.tCol4 {    text-align: left;}</style><f:view locale="#{localeBean.locale}"><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        <title>            <h:outputText value="admin BBS"/>        </title>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/bbs/css/style.css"/>    </head>    <body style="margin:0px">    <h:form enctype="multipart/form-data">        <h:panelGrid border="0" width="100%"                    columns="1"                    cellpadding="3"                    cellspacing="3"                    headerClass="th"                    styleClass="table2 infoH">            <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"                        cellpadding="3"                        cellspacing="3"                        headerClass="th"                        columnClasses="tCol3,,"                        styleClass="tableWH">                <h:graphicImage url="/bbs/images/upload/faces/#{bbs_editInfo.userinfo.face}"/>                                <h:panelGrid  border="0"                             width="100%"                             columns="2"                            cellpadding="3"                             cellspacing="3"                            styleClass="table1"                            columnClasses="tCol1,tCol4"                            rowClasses="row2,row1">                    <h:outputText value="用户帐号:" styleClass="colorOrange"/>                    <h:outputText value="#{visitor.user.id}"/>                    <h:outputText value="修改头像:" styleClass="colorOrange" rendered="#{bbs_editInfo.faceabled}"/>                    <t:inputFileUpload size="30" value="#{bbs_editInfo.myFile}" rendered="#{bbs_editInfo.faceabled}"/>                    <h:outputText value="个性签名:" styleClass="colorOrange" rendered="#{bbs_editInfo.signable}"/>                    <h:inputTextarea value="#{bbs_editInfo.userinfo.sign}" rendered="#{bbs_editInfo.signable}" style="width:100%;height:100px;"/>                    <h:outputText value="个性签名:" styleClass="colorOrange" rendered="#{bbs_editInfo.signable}"/>                    <h:panelGroup rendered="#{bbs_editInfo.signable}">                        <h:selectBooleanCheckbox value="#{bbs_editInfo.userinfo.signable}">                            <f:selectItem itemValue="true" itemLabel="显示签名档"/>                        </h:selectBooleanCheckbox>                        <h:outputText value="在我所发表的文章后面附带个性签名"/>                    </h:panelGroup>                    <h:panelGroup/>                    <h:panelGroup>                        <h:commandButton value="确认修改" action="#{bbs_editInfo.update}" style="margin-right: 10px;"/>                        <h:commandButton value="取消"/>                    </h:panelGroup>                </h:panelGrid>            </h:panelGrid>        </h:panelGrid>    </h:form>    </body></html></f:view>

⌨️ 快捷键说明

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