📄 admincreatezone.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 {background: #F6F6F6; width: 100%}</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" width="100%" border="0" cellpadding="3" cellspacing="3" styleClass="table2 infoH" 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="提示:创建专区后,你可以为该专区创建相关讨论区! 详细信息,你可以转到专区列表中查看!" styleClass="colorGray"/> <h:panelGrid columns="2" border="0" cellpadding="3" cellspacing="3" styleClass="table1 tableWH" rowClasses="row2,row1"> <h:outputLabel value="专区名称:" for="zName"/> <h:panelGroup> <h:inputText id="zName" required="true" size="30" value="#{bbs_adminCreateZone.name}" > <f:validateLength minimum="2" maximum="30"/> </h:inputText> <h:message for="zName" errorClass="errors"/> </h:panelGroup> <h:outputLabel value="描述文字" for="zComment"/> <h:panelGroup> <h:inputTextarea id="zComment" rows="7" required="true" value="#{bbs_adminCreateZone.comment}" styleClass="tStyle1"> <f:validateLength minimum="2" maximum="64"/> </h:inputTextarea> <h:message for="zComment" errorClass="errors"/> </h:panelGroup> <h:outputLabel value="锁区" for="beLock"/> <h:panelGroup> <h:selectOneRadio id="beLock" value="#{bbs_adminCreateZone.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:commandButton value="创建" style="margin-right:10px;width:60px;" action="#{bbs_adminCreateZone.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 + -