调用标签库时,其属性能否动态编号

ffww77 2006-01-23 10:24:21
<%@ taglib uri="/WEB-INF/tlds/cc-controls.tld" prefix="ctrl" %>
<%@ taglib uri="/WEB-INF/tlds/cc-utility.tld" prefix="util" %>
<%@ page pageEncoding="GBK"%>

<%
String ctx=request.getContextPath();
String treetype=request.getParameter("treetype")==null?"system":request.getParameter("treetype");

%>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta name="Cache-Control" content="no-cache">
<meta name="Copyright" content="Copyright (c) 2004 HDKJ">
<meta name="Title" content="Web Project Manager Application">
<meta name="Author" content="HDKJ">
<meta name="Language" content="CHINESE">
<meta name="Robots" content="NOINDEX">
<util:base/>

<%-- StyleSheets --%>
<link href="app/css/default.css" rel="stylesheet" type="text/css">
<link href="app/css/style.css" rel="stylesheet" type="text/css">

<%-- JavaScripts --%>
<script language="javascript" src="app/js/common/common.js"></script>

<%-- Framework Includes --%>
<util:jsp directive="includes"/>
</head>
<body scroll=auto topMargin = 2 onclick="clicktreeleaf()">
<util:imagemap name="im_products">
<util:imagemapping rule="0.open" src="scmis/User-Sbgl/images/folderOpen.gif" width="16" height="16"/>
<util:imagemapping rule="0.closed" src="scmis/User-Sbgl/images/folderClosed.gif" width="16" height="16"/>
<util:imagemapping rule="9.open" src="scmis/User-Sbgl/images/folderOpen.gif" width="16" height="16"/>
<util:imagemapping rule="9.closed" src="scmis/User-Sbgl/images/folderClosed.gif" width="16" height="16"/>
<util:imagemapping rule="1" src="scmis/User-Sbgl/images/imgreadme.gif" width="16" height="16"/>
<util:imagemapping rule="2" src="scmis/User-Sbgl/images/delete.gif" width="16" height="16"/>
<util:imagemapping rule="3" src="scmis/User-Sbgl/images/img_lookup.gif" width="16" height="16"/>
</util:imagemap>


<ctrl:tree
id="fun2"
name="sbCodeInheritlistsitem"
action="/sbcodeinherit.do"
root="true"
linesAtRoot="true"
labelProperty="descname"
imageProperty="picture"
imagemap="im_products"
expandMode="multiple"
groupselect="true"
runat="server"
target="mainFrame"
buttons="true"
/>


<script language="javascript" src="/pmis/app/js/common/common.js"></script>
...全文
62 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
x0y1z2 2006-01-24
  • 打赏
  • 举报
回复
看web服务器了
记得tomcat可以,wlc还是jboss 不可以
ffww77 2006-01-24
  • 打赏
  • 举报
回复
jboss的服务器
ffww77 2006-01-23
  • 打赏
  • 举报
回复
<ctrl:tree
id="fun2"
name="sbCodeInheritlistsitem"
action="/sbcodeinherit.do"
root="true"
linesAtRoot="true"
labelProperty="descname"
imageProperty="picture"
imagemap="im_products"
expandMode="multiple"
groupselect="true"
runat="server"
target="mainFrame"
buttons="true"
/>

想实现 上边代码中的 name="sbCodeInheritlistsitem" name的属性值是动态变化的,能否实现??

81,090

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧