📄 catalogmanag.jsp
字号:
<%@ include file = "../tiles/include.jsp"%><center><bean:define id="title">
<bean:message key="catalog.title"/>
</bean:define><gui:window title="<%=title%>" prototype="boWindow" color="100%"><% String tab = request.getParameter("webGUI.tabbedPanel.tab"); if (Util.isNull(tab)) tab = "tab1";%><gui:tabbedPanel prototype = "boTabbedPanel" followUp = "usermanag.jsp" color = "#f0f0f0" selectedTab = "<%=tab %>" width="50"><!--********************* add catalog ******************************************--><bean:define id="tab1_title">
<bean:message key="catalog.addCatalog"/>
</bean:define> <gui:tab prototype="boTab" name="tab1" title="<%=tab1_title%>" followUp="./catalogManager.do?method=loadAll&action2=add"> <html:form action="addCatalogAction?method=createCatalog" onsubmit="return validateCatalogForm(this);"> <html:errors/> <table class="win" CELLPADDING="0" CELLSPACING="0" width="100%"> <tr> <td width="220"><html:select property="parentId" size="15" style="width:200 px;"> <logic:present name="catalogtree" scope="request"> <html:options collection="catalogtree" labelProperty="catalogTitle" property="catalogId"/> </logic:present> </html:select></td> <td valign="top"><html:text property="catalog.catalogTitle" size="20" maxlength="50"/></td> </tr> <tr> <td colspan="2" align="right"> <html:submit styleClass="button"><bean:message key="button.save"/></html:submit> <html:cancel styleClass="button"><bean:message key="button.cancel"/></html:cancel> </td> </tr> <html:hidden property="catalog.catalogId" value="null"/> </html:form> </table> </gui:tab><!--********************* edit catalog ******************************************--><bean:define id="tab2_title"><bean:message key="catalog.editCatalog"/></bean:define> <gui:tab prototype="boTab" name="tab2" title="<%=tab2_title%>" followUp="./catalogManager.do?method=loadAll&action2=edit"><html:form action="editCatalogAction?method=updateCatalog" onsubmit="return validateCatalogForm(this);"> <html:errors/> <table class="win" CELLPADDING="0" CELLSPACING="0" width="100%"> <tr> <td width="220"><html:select property="catalog.catalogId" size="15" style="width:200 px;"> <logic:present name="catalogtree" scope="request"> <html:options collection="catalogtree" labelProperty="catalogTitle" property="catalogId"/> </logic:present> </html:select></td> <td valign="top"><html:text property="catalog.catalogTitle" size="20" maxlength="50"/></td> </tr> <tr> <td colspan="2" align="right"> <html:submit styleClass="button"><bean:message key="button.update"/></html:submit> <html:cancel styleClass="button"><bean:message key="button.cancel"/></html:cancel> </td> </tr> </html:form> </table> </gui:tab><!--********************* remove catalog ******************************************--><bean:define id="tab3_title"><bean:message key="catalog.removeCatalog"/></bean:define> <gui:tab prototype="boTab" name="tab3" title="<%=tab3_title%>" followUp="./catalogManager.do?method=loadAll&action2=remove"> <html:form action="removeCatalogAction?method=removeCatalog" onsubmit="return validateCatalogForm(this);"> <html:errors/> <table class="win" CELLPADDING="0" CELLSPACING="0" width="100%"> <tr> <td><html:select property="catalog.catalogId" size="15" style="width:200 px;"> <logic:present name="catalogtree" scope="request"> <html:options collection="catalogtree" labelProperty="catalogTitle" property="catalogId"/> </logic:present> </html:select></td> </tr> <tr> <td align="right"> <html:submit styleClass="button"><bean:message key="button.delete"/></html:submit> <html:cancel styleClass="button"><bean:message key="button.cancel"/></html:cancel> </td> </tr> <html:hidden property="catalog.catalogTitle" value="null"/> </html:form> </table> </gui:tab></gui:tabbedPanel></gui:window></center><html:javascript formName="catalogForm" dynamicJavascript="true" staticJavascript="false"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -