发布于 2016-09-20 06:02:05 | 104 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

OmniFaces JSF2 工具库

OmniFaces 是一个 JSF 2 的工具库,其目的是为了让 JSF 应用开发更加简单。


OmniFaces 2.5在2016年9月15日正式发布了。

OmniFaces 2.5的新特性

  • #278 - FullAjaxExceptionHandler now supports a new context paramorg.omnifaces.EXCEPTION_TYPES_TO_IGNORE_IN_LOGGINGwhere you can specify exception types to ignore in logging

  • #279 - AddedExpressionInspector#getMethodReference()to resolve base and method of a method expression

  • #188 - Bunch of newcreateConverter()andcreateValidator()convenience methods on Faces

  • #181 - ThrowIllegalStateExceptionduring development stage when there's a nested form

  • #235 - New <o:inputFile> which extends<h:inputFile>with support formultiple,directory,acceptandmaxsizeattributes, along with built-in validation onacceptandmaxsizeattributes.

  • #287 - #289 - @GraphicImageBean annotation to declare a bean as a public image service, along withof:graphicImageURL()EL functions which should generate the desired URL

  • #298 -showMessageForattribute of multi field validators now supports a new keyword@globalwhich specifies that the message should be added as a global message

  • #20 - FacesViews now supports theMultiViewsfeature as known in Apache HTTPD + PHP world

  • #305 - Components#resetForm/resetInputs() to reset state of input fields in given form or parent component

OmniFaces 2.5的改进

  • #272 - Cookies created in server side by Faces and Servlets utility classes are now by default alwaysHttpOnly

  • #281 - #256 -beans.xmlis now fully CDI 1.1 compatible andBeanManagerenum has been deprecated and Beans utility class now always usesCDI.current().getBeanManager()and further some old CDI 1.0 related workarounds have been removed

  • #284 - Beans utility class now supports specifying qualifiers via varargs argument in a.o.resolve(),getReference(),getInstance(), etc

  • #285 -RestorableViewHandlerhas been renamed to OmniViewHandler as it got more responsibilities

  • #293 - <o:highlight> will now remove the highlight when the enduser starts using the input field

  • #20 -RequestParamProducerhas been renamed to ParamProducer as it also supports path parameters

OmniFaces 2.5的修复

发行说明:

http://showcase.omnifaces.org/whatsnew



历史版本 :
OmniFaces 3.0 发布,JSF2 工具库
OmniFaces 2.5 发布,JSF2 工具库
OmniFaces 2.4 发布,JSF2 工具库
OmniFaces 2.3 发布,JSF2 工具库
OmniFaces 2.2 发布,JSF2 工具库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务