- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://ocpsoft.com/prettyfaces/
- 软件文档: http://ocpsoft.com/prettyfaces/v123
软件介绍
PrettyFaces是一个JSF1.2和JSF2.0的扩展,用来创建便于书签收藏、漂亮的网址。 PrettyFaces优雅的解决了这个问题,包括诸如功能:网页装载行动,无缝的跟faces的导航整合,动态视图的ID分配和管理参数分析,无需配置,兼容其他JSF框架。
配置示例:
<pretty-config
xmlns="http://ocpsoft.com/prettyfaces-xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces-xsd
http://ocpsoft.com/xml/ns/prettyfaces/pretty-1.0.xsd">
<url-mapping id="login">
<pattern> /login </pattern>
<view-id> /faces/login.jsf </view-id>
</url-mapping>
<url-mapping id="home">
<pattern> /home </pattern>
<query-param name="displayWelcomeMessage">#{homeBean.displayWelcomeMessage}</query-param>
<view-id> #{homeBean.getViewPath} </view-id>
</url-mapping>
<url-mapping id="viewStory">
<pattern>
/story/#{myBean.currentStoryId}/
</pattern>
<query-param name="commentText" decode="false">#{myBean.commentText}</query-param>
<view-id> /faces/story/viewStory.jsf </view-id>
<action onPostback="false">#{myBean.loadStory}</action>
</url-mapping>
<url-mapping id="viewComment">
<pattern>
/story/#{myBean.currentStoryId}/#{myBean.commentId}
</pattern>
<view-id>/faces/story/comment.jsf</view-id>
<action>#{myBean.loadComment}</action>
</url-mapping>
</pretty-config>
The Web Designer's Idea Book, Vol. 2
Patrick McNeil / How / 2010-9-19 / USD 30.00
Web Design Inspiration at a Glance Volume 2 of The Web Designer's Idea Book includes more than 650 new websites arranged thematically, so you can easily find inspiration for your work. Auth......一起来看看 《The Web Designer's Idea Book, Vol. 2》 这本书的介绍吧!
