- 博客(1)
- 资源 (2)
- 收藏
- 关注
Tiles中文文档箐学习了
Tag addAttribute
--------------------------------------------------------------------------------
Add an element to the surrounding list. Equivalent to 'putAttribute', but for list element.
Add an element to the surrounding list. This tag can only be used inside 'putListAttribute' or 'addListAttribute' tags. Value can come from a direct assignment (value="aValue")
2009-03-12
siteMesh例子
SiteMesh简介:
SiteMesh是一个Web页面布局修饰框架, 用于构建包含大量页面, 需要一致的外观样式(look/fell), 导航和布局机制的大型网站.
SiteMesh应用Decorator模式,用filter截取request和response,把页面组件head,content,banner结合为一个完整的视图。通常我们都是用include标签在每个jsp页面中来不断的包含各种header, stylesheet, scripts and footer,现在,在SiteMesh的帮助下,我们可以开心的删掉他们了。在WebWork中集成SiteMesh相当容易: 实际上什么也不用做. WebWork把全部值栈数据都保存在请求attribute中, 这意味着如果想显示值栈(或ActionContext)中的数据, 只需使用WebWork附带的标准标签库, 就这么简单!那来看完本文吧。
2009-03-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人