OmniFaces 2.1 发布,该版本带来更多性能提升和重要修复, 增加内容: 0cd13ea - <o:tagAttribute> to explicitly declare a tagfile attribute which is only exposed in tagfile's own EL scope, to prevent pollution in EL scope of nested tagfiles 51060ff - FacesConfigXml to get faces-config.xml entries which are not available via native JSF API (currently only a mapping of all <resource-bundle> entries can be obtained) #100 - CombinedResourceHandler now supports server-side caching of combined resources via org.omnifaces.COMBINED_RESOURCE_HANDLER_CACHE_TTL context param 070e7b5 - <o:graphicImage> now also supports SVG images with explicit type="svg" attribute and fragment attribute for SVG view modes 09f187d - @Eager now also supports JSF 2.2 javax.faces.view.ViewScoped 2d640e0 - @Cookie to inject a HTTP request cookie in a CDI managed bean #114 - Several shortcut functions on current HTTP request: of:getRequestBaseURL(), of:getRequestDomainURL(), of:getRequestURLWithQueryString(), of:getRemoteAddr() #57 - Faces and FacesLocal got new getResourceBundles() and getBundleString() methods 82ace56 - Servlets got a new isFacesDevelopment() method 更多变化请查看发行日志。 软件下载请点omnifaces-2.1.jar OmniFaces 是一个 JSF 2 的工具库,其目的是为了让 JSF 应用开发更加简单。 如果你厌倦了重塑JSFUtil或FacesUtil实用程序类,为每个JSF web应用程序定制组件,使用 taghandlers 等来解决JSF的缺点的话,OmniFaces可能是你要找的东西! OmniFaces 2.1 发布,JSF2 工具库下载地址