![](https://csdnimg.cn/release/download_crawler_static/535003/bg1.jpg)
JSF入门
原文:http://www.javaworld.com.tw/confluence/pages/viewpage.action?pageId=2630
繁简转换与修订:jnzgy@163.com
声明:为方便简体中文读者阅读,特将原文转换为简体,对一些习惯用语做了替换,同时对部分内容
做了修订。版权归原文作者所有,未经许可,不得用于商业目的。
2006年3月23日
1. 入门..............................................................................................................................................2
1.1 简介 JSF.............................................................................................................................2
1.2 第一个 JSF 程序................................................................................................................4
1.3 简单的导航 Navigation.....................................................................................................7
1.4 导航规则设置.....................................................................................................................9
1.5 JSF Expression Language .................................................................................................11
1.6 国际化信息.......................................................................................................................15
2. Managed Beans...........................................................................................................................17
2.1 Backing Beans...................................................................................................................18
2.2 Beans 的配置与设定........................................................................................................18
2.3 Beans 上的 List, Map .......................................................................................................21
3. 数据转换与验证........................................................................................................................23
3.1 标准转换器......................................................................................................................23
3.2 自定义转换器...................................................................................................................26
3.3 标准验证器.......................................................................................................................31
3.4 自定义验证器...................................................................................................................32
3.5 错误信息处理...................................................................................................................35
3.6 自定义转换, 验证标签...................................................................................................38
4. 事件处理....................................................................................................................................42
4.1 动作事件..........................................................................................................................42
4.2 即时事件..........................................................................................................................45
4.3 值变事件..........................................................................................................................50
4.4 Phase 事件 ........................................................................................................................53
评论0