putList到底是什么意思啊

cysk_zhang 2007-08-14 04:27:33
小弟初学tiles,有关putList标签我查了文档,可是不明白。以下是文档中的说明:
The PutList tag is similar to the Put tag except that it allows you to specify a list of attributes for a Tiles Definition. It specifies an attribute that is a Java List containing any kind of values. In the config file, the list elements are specified by nested add, item or putList elements.

<putList name="list" >
<add value="menu.links" />
<add value="menu.taglib.references" />
<add value="menu.printer.friendly" />
<add value="menu.old.documents" />
</putList>
其中 name="list",这个list是个List类的实例?这个list是一个bean?
在某个jsp文件中,一定有<insert attributes="list">与之对应吧?可是这么多add,怎么加到<insert attributes="list">这个位置啊?

彻底糊涂了。。。
...全文
247 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
cysk_zhang 2007-08-15
  • 打赏
  • 举报
回复
我晕,怎么没人回答啊?

81,094

社区成员

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

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