<%@page import="com.amarsoft.awe.res.AppManager"%> <%@ page import="com.amarsoft.web.ui.mainmenu.AmarMenu"%> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/IncludeBegin.jsp"%><% String sMenuId = CurPage.getParameter("MenuId"); if(sMenuId == null) sMenuId = ""; OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "菜单选择","right"); tviTemp.MultiSelect = true; ArrayList ExcludeIDs = new ArrayList(); @SuppressWarnings("unchecked") List bos = JBOFactory.createBizObjectQuery("jbo.awe.AWE_QUICK_HREF", "select QuickParams from O where QuickType = '01' and ForUser = :ForUser and IsInUse = '1' order by SortNo") .setParameter("ForUser", CurUser.getUserID()).getResultList(false); for(BizObject bo : bos) ExcludeIDs.add(bo.getAttribute("QuickParams").getString()); AmarMenu menu = new AmarMenu(CurUser, AppManager.getMainAppID(), ExcludeIDs); menu.fillMenu(tviTemp); String sButtons[][] = { {"true","","Button","确定","确定","doSure()","","","","btn_icon_submit"}, {"true","","Button","取消","取消","doCancel()","","","","btn_icon_close"}, }; %><%@include file="/Resources/CodeParts/View07.jsp"%> <%@ include file="/IncludeEnd.jsp"%>