articleMove.jsp
上传用户:huijianzhu
上传日期:2009-11-25
资源大小:9825k
文件大小:1k
- <%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
- <%@ include file="/common/taglibs.jsp"%>
- if (document.getElementById) {
- <c:forEach var="cmsColumn" items="${platesList}">
- <c:if test="${cmsColumn.parentid == '-1'}">
- var tree = new WebFXRadioTree('<c:out value="${cmsColumn.name}"/>', '<c:out value="${cmsColumn.id}"/>', '<c:out value="${cmsColumn.id}"/>,<c:out value="${cmsColumn.name}"/>', '', '', false, false, 'returnValue');
- tree.setBehavior('classic');
- r<c:out value="${cmsColumn.id}"/> = tree;
- </c:if>
- <c:if test="${cmsColumn.parentid != '-1'}">
- if(typeof(r<c:out value="${cmsColumn.parentid}"/>) != "undefined" && r<c:out value="${cmsColumn.parentid}"/> != null) {
- r<c:out value="${cmsColumn.id}"/> = new WebFXRadioTreeItem('<c:out value="${cmsColumn.name}"/>', '<c:out value="${cmsColumn.id}"/>', '<c:out value="${cmsColumn.id}"/>,<c:out value="${cmsColumn.name}"/>', '', '', true, <c:if test="${cmsColumn.id != columnid}">false</c:if><c:if test="${cmsColumn.id == columnid}">true</c:if>, 'returnValue', r<c:out value="${cmsColumn.parentid}"/>);
- r<c:out value="${cmsColumn.id}"/>.icon = webFXTreeConfig.folderIcon;
- }
- </c:if>
- </c:forEach>
- if(typeof(tree) != "undefined" && tree != null) {
- document.write(tree);
- tree.expand();
- }
- }