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

📄 topicauth.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"><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"/>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/bbs/css/style.css"/>    </head>    <body>    <h:form id="form">    <h:messages globalOnly="true"     showDetail="true"     infoClass="infos"     errorClass="errors"     fatalClass="fatals"/>    <h:panelGrid width="99%"     columns="1"     border="0"     cellpadding="3"     cellspacing="3"    headerClass="th">        <f:facet name="header">            <h:panelGroup>                <h:outputText value="阅读权限编辑:"/>                <h:outputText value="#{bbs_topicAuth.topic.title}" styleClass="colorGreen"/>            </h:panelGroup>        </f:facet>		<h:selectOneRadio onclick="this.form.submit()" valueChangeListener="#{bbs_topicAuth.checkType}" value="#{bbs_topicAuth.topic.authType}">            <f:selectItems value="#{bbs_topicAuth.authTypes}"/>        </h:selectOneRadio>		<h:panelGroup>	    <fieldset class="table1">               <legend>                   <h:outputText value="选择用户组"/>               </legend>               <h:panelGrid border="0"                 columns="6"                 cellpadding="3"                 cellspacing="3">                    <h:selectManyCheckbox binding="#{bbs_topicAuth.uiAuthGroups}" value="#{bbs_topicAuth.authGroups}">                        <f:selectItems value="#{bbs_topicAuth.authGroupsAll}"/>                    </h:selectManyCheckbox>                </h:panelGrid>            </fieldset>        </h:panelGroup>                <h:outputText value="帮助:“所有人”表示任何人都可以阅读该贴子;              “登录用户”表示只有登录了系统的用户才能阅读该贴;              “特定用户组”选择该项之后,你才可以选择下面的用户组,只有选中的用户组才能阅读该贴子!              如果你没有选择任何一个用户组,则所有人都不能阅读该贴(除自己及版主或Admin)" styleClass="colorGray"/>	<h:panelGroup>	    <h:inputHidden value="#{bbs_topicAuth.topic.num}"/>	    <h:inputHidden value="#{bbs_topicAuth.topic.title}"/>            <h:commandButton value="确定" action="#{bbs_topicAuth.displayAuth}"/>        </h:panelGroup>    </h:panelGrid>    </h:form>    </body></html></f:view>

⌨️ 快捷键说明

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