📄 admincreateforum.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">.tStyle1 { width: 99%;}</style><f:view locale="#{localeBean.locale}"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title> <h:outputText value="createZone"/> </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 id="form"> <h:panelGrid columns="1" border="0" cellpadding="3" cellspacing="3" styleClass="tableWH" headerClass="th"> <f:facet name="header"> <h:outputText value="为专区创建讨论区:#{bbs_adminCreateForum.zone.name}"/> </f:facet> <h:messages globalOnly="true" showDetail="true" infoClass="infos" errorClass="errors" fatalClass="fatals"/> <h:outputText value="示例:比喻,你可以为名称为“音乐欣赏”的专区 创建“古典音乐”、“现代音乐”、“摇滚舞曲”等讨论区" styleClass="colorGray"/> <h:outputText value="提示:为该专区创建讨论区后,你可以在“讨论区列表” 中查看到相关讨论区信息,并进行编辑操作!" styleClass="colorGray"/> <h:panelGrid columns="2" border="0" cellpadding="3" cellspacing="3" styleClass="table1 tableWH" rowClasses="row1,row2"> <h:outputLabel value="讨论区名称:" for="fName"/> <h:panelGroup> <h:inputText id="fName" required="true" size="30" value="#{bbs_adminCreateForum.name}" > <f:validateLength minimum="2" maximum="30"/> </h:inputText> <h:message for="fName" errorClass="errors"/> </h:panelGroup> <h:outputLabel value="描述文字" for="fComment"/> <h:panelGroup> <h:inputTextarea id="fComment" rows="2" required="true" value="#{bbs_adminCreateForum.comment}" styleClass="tStyle1"> <f:validateLength minimum="2" maximum="64"/> </h:inputTextarea> <h:message for="fComment" errorClass="errors"/> </h:panelGroup> <h:outputLabel value="锁区" for="beLock"/> <h:panelGroup> <h:selectOneRadio id="beLock" value="#{bbs_adminCreateForum.beLock}"> <f:selectItem itemValue="true" itemLabel="是"/> <f:selectItem itemValue="false" itemLabel="否"/> </h:selectOneRadio> <h:message for="beLock" errorClass="errors"/> </h:panelGroup> <h:panelGroup/> <h:panelGroup> <h:inputHidden value="#{bbs_adminCreateForum.zone.num}"/> <h:commandButton style="margin-right:10px;width:60px;" value="创建" action="#{bbs_adminCreateForum.create}"/> <h:commandButton value="取消" immediate="true"/> </h:panelGroup> </h:panelGrid> </h:panelGrid> </h:form> </body></html></f:view>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -