<%-- - FileName : CommMatlCodeTree.jsp - Author(s) : pej - Date : 2007-06-13 - Copyright : Copyright (c) 2002-2003 www.hwenc.com, Inc. - - Description: 자재코드 등록 > 자재코드트리 --%> <%@ page contentType="text/html; charset=utf-8" %> <%@ page import="com.udapsoft.waf.system.HandlerStorage" %> <%@ page import="kr.co.hsnc.common.util.*" %> <%@ page import="kr.co.hsnc.common.sql.*" %> <% ctx.init(request, response); HandlerStorage storage = ctx.getHandlerStorage(); ValueObject user = ctx.getUser(); ValueObject params = storage.getParams(); String event = storage.getEvent(); String deptCd = ctx.getUser().get("site_code"); String deptName = ctx.getUser().get("site_name"); String estGb = "EST"; RowSet rowset = storage.getRowSet("rsSectList"); %>
<% if(rowset != null && rowset.size()> 0) { %>
www.treemenu.net
<% } else { %> There is no actual budget registered. <% } %> <%! private String getTreeHtml(String deptCd, RowSet rowset){ StringBuffer html = new StringBuffer(); String sectCodeL1 = ""; String sectCodeL2 = ""; String sectCodeL3 = ""; String sectCodeNameL1 = ""; String sectCodeNameL2 = ""; String sectCodeNameL3 = ""; String specCode = ""; String calTpCode = ""; int iDepth = 0; try { for(int i=0; i