RichFaces 4.2.0.CR1 发布了,4.2 版本包含从版本 3 移植过来后一些缺失的组件(rich:contextMenu , rich:hotKey ),同时利用资源加载优化提供一些相应的 API 改进,增加 push API,以及大量的 bug 修复和可用性的提升。
下载地址:http://www.jboss.org/richfaces/download/milestones
下图是 4.1 和 4.2 版本在配置上的一些差异:
|
RichFaces 4.1 context-param
|
RichFaces 4.2 context-param | |
|
org.richfaces.resourceMapping.enabled
|
→ | org.richfaces.resourceOptimization.enabled |
|
org.richfaces.resourceMapping.compressedStages
|
→ | org.richfaces.resourceOptimization.compressionStages |
|
org.richfaces.resourceMapping.packedStages
|
→ | org.richfaces.resourceOptimization.packagingStages |

不过 4.1 的 context-params 还是可以在 4.2 上用,不过很快会移除。
4.2 版本在文档界面也做了改进:
修复的 bug 和其他方面提升包括:
- jQuery upgraded to v1.7.1 (RF-11838 )
- Fixes the "event.layerX and event.layerY" deprecation warning in Google Chrome
- RichFaces available via maven central (RFPL-1800 )
- No longer is it required to define the JBoss nexus repository in your settings.xml to consume richfaces maven artifacts
- Mobile tweaks
- improvements to the mobile getting started guide
- component specific usability improvements
- Spring Webflow compatibility (RF-11806 )
- a4j:actionListener example in the showcase
- omitted in our initial release of the showcase, an example of a4j:actionListener usage has been added to the 4.2 showcase
- Build improvements
- The dependency management across all the projects’ poms has been cleaned up and centralized
RichFaces 的详细介绍:请点这里
RichFaces 的下载地址:请点这里
