本站首页    管理页面    写新日志    退出

The Neurotic Fishbowl

[/*Java*/]使用Struts Tiles构建Portal
nybon 发表于 2005/3/11 16:00:36

相关资料: 1. Struts Tiles Struts Tiles Guide 最基本的资料 2. Tiles Advanced Features by Cedric Dumoulin. 这篇文章列在Struts Tiles Guide的reference中,我感觉是写的比较全面而又有一定深度的文章,尤其是其中的第七部分较详细的写了如何使用Tiles进行动态portal的构建,根据这篇文章再配合Struts里面附带的Tiles-document就可以较完整地了解Tiles的全貌了. 3. 基于Tiles框架Struts框架的UI 设计—几种组织HTML和JSP视图组件 这篇是Struts Tiles Guide的reference中的一篇文章的中文版,写的也很不错,很有条理看起来. 4. Struts 和 Tiles 辅助基于组件的开发 这也是Struts Tiles Guide的reference中的一篇文章的中文版,一般吧,中文的看起来快一点而已. Section 7 DYNAMIC PORTAL EXAMPLE What's a Tile? A Tile is an area in a web page. This area is rectangular, and can also be called "region" (like in another template mechanism by David Geary).Assembling several Tiles can make themselves a new Tile. Tiles in a web page can be build recursively and represented as a tree where nodes represent regions. Root node is usually the page, final nodes or leafs contain page content, and intermediate nodes are usually layouts. There are several ways to associate an Action and a View as a Tile:• Specify the Action classname or action URL in <insert> or in <definition> (TilesV1.1)• Use a Struts Action in struts-config.xml, let it forward to a definition name. In tilesconfig.xml specify one definition with the action URL as page, and one definition withthe view as the page. The first definition is used as the complete Tile definition (action +view), the second definition is used as the view definition.• It is possible to associate more than one view to a controller. Exactly one will be chosen.This is useful when you have a main view and an error view. Same as before, but with more than one forward and view definition.  

阅读全文(5876) | 回复(0) | 编辑 | 精华

 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)

 
 



The Neurotic Fishbowl

.: 公告

This blog focuses on:

Semantic Web && Java Technology


Bloginess

«December 2025»
123456
78910111213
14151617181920
21222324252627
28293031

.: 我的分类(专题)

首页(171)
/*SemanticWeb*/(34)
/*Java*/(74)
/*FreeComments*/(59)
/*Agent*/(4)


In the Bowl

.: 最新日志

The End
使用Google Trends进行选型
怎样才能称为一次新的版本发行?
如何防止RSS信息过载
使用Excel作为用户接口
如何有效地报告Bug
sourceforge再次被封
趣文两篇
编写Firefox扩展
Jetspeed心得随笔


.: 最新回复

回复:Google API与yahoo 
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:Jbpm和Shark比较的feat
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:[转]批判性地看待一种可行的表示技
回复:JIRA破解


The Fishkeeper
blog名称:SW Portal
日志总数:171
评论数量:219
留言数量:8
访问次数:1060410
建立时间:2004年10月30日



Text Me

.: 留言板

签写新留言

路过
路过
页脚问题
RE:请问一下你的主页的下面部分是怎么关
请问一下你的主页的下面部分是怎么关闭的?
我是做Mobile Agent的
Gmail
不错
不错啊小倪同学


Other Fish in the Sea

.: 链接





站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.832 second(s), page refreshed 144816628 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号