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

📄 adminusersearch.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%@page contentType="text/html"%><%@page 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: 60px;}.tCol2 {width: 120px;}</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 id="form">        <h:panelGrid columns="1" width="100%"        border="0"         cellpadding="3"         cellspacing="3"        columnClasses="vTop"        styleClass="table2 infoH">                <h:panelGrid columns="1" width="100%"                    border="0"                     cellpadding="3"                     cellspacing="3"                    headerClass="th">                    <f:facet name="header">                        <h:outputText value="用户查询"/>                    </f:facet>                    <h:messages globalOnly="true"                     showDetail="true"                     infoClass="infos"                     errorClass="errors"                     fatalClass="fatals"/>                                    <h:outputText value="提示:通过用户id查询用户,然后可以查看或编辑用户信息"                    styleClass="colorGray"/>                    <h:panelGrid border="0"                     columns="3"                     width="100%"                     cellpadding="3"                     cellspacing="0"                    columnClasses="tCol1,tCol2,,"                    rowClasses="row2,row1"                    styleClass="table1">                        <h:outputText value="填写ID"/>                        <h:inputText value="#{user_adminUserSearch.keyword}" size="20"/>                        <h:commandButton value="查询" actionListener="#{user_adminUserSearch.search}"/>                        </h:panelGrid>		                    <h:dataTable border="0"                    width="100%"                    cellpadding="3"                    cellspacing="3"                    styleClass="table1"                    style="text-align:center;"                    rowClasses="row2,row1"                    binding="#{user_adminUserSearch.uiUsers}"                    var="userObj">                        <h:column>                            <f:facet name="header">                                <h:outputText value="ID"/>                            </f:facet>                            <h:outputText value="#{userObj['user'].id}"/>                        </h:column>                        <h:column>                            <f:facet name="header">                                <h:outputText value="用户组"/>                            </f:facet>                            <h:outputText value="#{userObj['user'].group}"/>                        </h:column>                        <h:column>                            <f:facet name="header">                                <h:outputText value="激活"/>                            </f:facet>                            <h:outputText value="#{userObj['user'].enabled?'是':'否'}"/>                        </h:column>                        <h:column>                            <f:facet name="header">                                <h:outputText value="封停"/>                            </f:facet>                            <h:outputText value="#{userObj['user'].beRevoke?'是':'否'}"/>                        </h:column>                        <h:column>                            <f:facet name="header">                                <h:outputText value="注册"/>                            </f:facet>                            <h:outputText value="#{userObj['user'].date}"/>                        </h:column>                        <h:column>                            <f:facet name="header">                                <h:outputText value="操作"/>                            </f:facet>                            <h:commandLink value="编辑" action="#{user_adminUserSearch.toEdit}"/>                        </h:column>                   </h:dataTable>              </h:panelGrid>         </h:panelGrid>    </h:form>    </body></html></f:view>

⌨️ 快捷键说明

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