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

📄 header.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%@page contentType="text/html" pageEncoding="UTF-8"%><style type="text/css">.hCol1 {text-align:left;}.hCol2 {text-align:right;width:10px;}</style>    <h:form>        <h:panelGrid columns="2" border="0" width="100%" cellpadding="2" cellspacing="2"                      style="margin-bottom:7px;font-size: 12px;"                     columnClasses="hCol1,hCol2" styleClass="header">                <h:panelGroup>                    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/bbs/forums.faces" style="margin-right:10px">                        <h:outputText value="#{sayCommon.header_bbs}"/>                    </h:outputLink>                    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/user/register.faces" style="margin-right:10px">                        <h:outputText value="#{sayCommon.header_register}"/>                    </h:outputLink>                    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/user/login.faces" style="margin-right:10px">                        <h:outputText value="#{sayCommon.header_login}"/>                    </h:outputLink>                    <h:outputText value="[#{visitor.user.id}" rendered="#{visitor.login}" styleClass="marginRight"/>		    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/info.faces?page=/common/message/menu.jsp" rendered="#{visitor.news}" styleClass="marginRight">			<h:graphicImage url="/common/message/images/new.gif" title="New Message"/>                    </h:outputLink>                    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/info.faces?page=/common/user/info/menu.jsp" title="Edit Information" rendered="#{visitor.login}" styleClass="marginRight">                        <h:outputText value="#{sayCommon.header_information}"/>                    </h:outputLink>		    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/admin.faces?page=/common/admin/sysMenu.jsp" rendered="#{visitor.admin}">                        <h:outputText value="#{sayCommon.header_manager}"/>                    </h:outputLink>                    <h:commandLink value="#{sayCommon.header_logout}]" action="#{user_login.logout}" title="Logout" immediate="true" rendered="#{visitor.login}"/>                </h:panelGroup>                                <h:panelGroup>		    <h:panelGrid border="0" columns="3" cellpadding="0" cellspacing="0">			<h:selectOneMenu value="#{localeBean.locale}" style="height:18px;font-size:11px;">                            <f:selectItems value="#{localeBean.localeList}"/>                        </h:selectOneMenu>			<h:commandButton value="GO" action="#{localeBean.selectLocale}" style="height:21px;font-size:13px;"/>                    </h:panelGrid>                </h:panelGroup>        </h:panelGrid>    </h:form>

⌨️ 快捷键说明

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