jboss7 如何替换jsf将jsf1.1更新为1.2

不可不看,JSF1.2 changes - hintcnuie - ITeye博客
博客分类:
变化还是挺多的,仔细看看,可以省掉很多郁闷的时间哦。The numbers in the text below refer to issue numbers in the issue tracker found at&https://javaserverfaces-spec-public.dev.java.net/servlets/ProjectIssues&.■ 2 - Clarify that for client side state saving, the state should be encrypted for security.■ 3 - Clarify the specification with respect to constraint violations for tags in the Core TagLibrary.■ 4 - Added headerClass and footerClass attributes at the “h:column” level. Pleasesee Section 8.5 “Standard HTML RenderKit Implementation” for more details.■ 5 - Clarified the use of a string literal for the “action” attribute on ActionSourcecomponents.■ 6 - Introduced a new optional “label” attribute for input components that will provide anassociation between a component, and the message that the component (indirectly)produced. Please refer to Section 8.5 “Standard HTML RenderKit Implementation” andSection 2.5.2.4 “Localized Application Messages” for more details.■ 8 - Made UViewRoot a source of PhaseEvent(s) for all phases of the request processinglifecycle except RestoreView. Provided additional “before” and “after” phase listenerattributes for the &f:view& tag. Please see Section 4.1.17 “UIViewRoot” for more details.■ 9 - Clarified the behavior of PhaseListener implementations in the following way: theymust guarantee that if “beforePhase()” is called, then “afterPhase()” must also be called,regardless of any thrown exceptions. Please see Section 11.3 “PhaseListener” for morespecifics.■ 11 - Provide a unique window identifier (in addition to the “viewid”) to accomodateapplications that have mutiple instances of the same view, but perhaps in differentbrowser windows or frames.13 - Specified “by type” converter registration for BigDecimal and BigInteger.■ 15 - Enhanced the usage of the “Decorator Pattern” for ViewHandler, StateManager andResponseWriter classes by providing abstract wrapper classes to make it easier to overridea subset of the total methods for those classes. Please see Section 10.4.5 “DelegatingImplementation Support” for more details.■ 16 - Provided additional I18n attributes “dir and “lang” for the tags: &h:outputText&,&h:outputFormat&, &h:messages&, &h:message&. Please see Section 8.5 “Standard HTMLRenderKit Implementation” for descriptions of these components.■ 17 - Introduced a new optional “layout” attribute on the “PanelGroup” component thatcontrols the rendering of either a “div” or “span” HTML element. Please see Section 8.5“Standard HTML RenderKit Implementation” for more details.■ 18 - When a resource lookup is done on the java.util.Map (loaded from &f:loadBundle&)using a key, and the key is not found in the Map, return the literal string ???KEY???where KEY is the key being looked up in the Map (instead of throwing aMissingResourceException). Throw a JspException if the named bundle identified by&f:loadBundle& does not exist. Please see Section 9.4.7 “&f:loadBundle&”.■ 20 - Specify that the event queue should be cleared after each phase (exceptRestoreViewPhase and RenderResponse) if “responseComplete” or “renderResponse” hasbeen set on the FacesContext.■ 21 - Provided an additional “binding” attribute for the core Converter, Listener andValidator tags that would be used as a ValueExpression to alternatively create theConverter, Listener or Validator instance. Please see Section 9.4 “JSF Core Tag Library”for more details.■ 27 - &h:messages& now renders HTML list elements (“&ul&”,”&li&”) if the “layout”attribute is “list” or the “layout” attribute is not specified. If the “layout” is “table”, anHTML “table” element is rendered instead of an outer “span”. Please see Section 8.5“Standard HTML RenderKit Implementation” for more details.■ 29 - Allow the use of user-defined “onclick” Javascript on CommandLink.■ 30 - Make the “commandButton” “image” attribute render the same as the“graphicImage” “img” attribute for consistency. Please see Section 8.5 “Standard HTMLRenderKit Implementation” for more information.■ 35 - Provided a new facet for DataTable Renderer that allows the rendering of a table“caption” element immediately following the “table” element. Also provided style sheetattributes for this new element. Please see Section 8.5 “Standard HTML RenderKitImplementation” for a descrption of this component.■ 43 - Migrated over to using XML Schema (from DTD) for configuation file validation.Please see Section 1.1 “XML Schema Definition”.■ 45 - Avoided concurrent read issues by using a java.util.HashMap instead ofjava.util.WeakHashMap for a component’s Property Descriptor Map. This also fixes theperformance problem as identified in the forum. Please refer to the Property Descriptormethods and the constructor in ponent.UIComponentBase.■ 47 - Introduced a mechanism to detect if a request is a postback.48 - Specify the algorithm used for client id generation as well as provide a way to allowthe page author to specify exactly what the client Id should be, and preventing Faces fromaltering it.■ 50 - Allow an application to specify multiple render kits by introducing an optional“renderKitId” attribute on “&f:view&”. It is no longer required to write a customViewHandler to incorporate a different render kit. Please refer to Section 8.3“ResponseStateManager” and Section 9.4.20 “&f:view&” for more details.■ 51 - Clarify the specification with respect to “Application Startup Behavior”. Allowimplementations to check for the presence of a servlet-class definition in a webapplication deployment descriptor as a means to abort the configuration and save startuptime.■ 54 - Added new extension elements to the Faces XML schema. Please see Section 1.1“XML Schema Definition”.■ 55 - For postback requests, in the “RestoreViewPhase”, during ValueExpressionexamination for each component in the component tree, specify that calling thesetValue() method on each ValueExpression, should be done in a “parent-first”fashion, calling the setValue() method and then traversing the children.■ 58 - Enabed “protected” access to internal “DataModel” in UIData.■ 59 - Avoid EL expression evaluation for “value” attribute on “AttributeTag”.“AttributeTag” now passes the expression to UIComponent for evaluation.■ 65 - Added standard converter messages. Please see Section 2.5.2.4 “LocalizedApplication Messages” for more details.■ 66 - Specified that “FormRenderer” must render the “name” attribute with the same valueas the “id” attribute. Please see Section 8.5 “Standard HTML RenderKit Implementation”for more details.■ 67 - Allow the resetting of an input component’s value by introducing a resetValue()method on UIInput.■ 68 - Specify that the component tree may be manipulated throughout the requestprocessing lifecycle, except during render. Please see Section 2.2.6 “Render Response”for more details.■ 69 - Permit the passing of a null value to SelectItem.setValue().■ 72 - Improve XHTML compliance by rendering both “lang” and “xml:lang” attributes.■ 73 - Added a new FacesException - “javax.faces.application.ViewExpiredException”.Specified that implementations must throw this exception when an attempt to restore aview results in failure on postback. Please see Section 2.2.1 “Restore View” for moredetails.■ 74 - Added “disabled” property to “outputLink” and “commandLink”. Please seeSection 8.5 “Standard HTML RenderKit Implementation” for more details.■ 75 - Added “getRequestContentType” and “getResponseContentType” to ExternalContext.■ 78 - Added a more “user-friendly” default error message for UIInput “update model”.Please see Section 2.5.2.4 “Localized Application Messages” for more details.80 - Specify that the JSF Core Tag Library must not contain any tags that cause JavaScriptto be rendered to the client.■ 81 - Enable the message displayed for “required” validation, conversion, and validation tobe overridden by the page author (JSP or non-JSP)■ 82 - Added new feature, the ability to resolve ResourceBundles via the EL without the useof the &f:loadBundle& tag.■ 84 - Added rendered attribute to the core f:verbatim tag. Please see Section 9.4“JSF Core Tag Library” for more details.■ 85 - Add new tag: f:setPropertyActionListener. Useful for pushing values into managedbeans without allowing modification of the value.■ 86 - Specified that “OutputLinkRenderer” must render the “name” attribute with the samevalue as the “id” attribute. Please see Section 8.5 “Standard HTML RenderKitImplementation” for more details.■ 87 - Modified specification for the setVariableResolver() andsetPropertyResolver() methods on Application to state that they may not becalled after the application has served any requests.■ 93 - Added “escape” flag indicating the text of UISelectItem should be escaped whenrendering.■ 95 - Allow multiple instances of FacesServlet in a single webapp, mapped withdifferent URI mappings, to use different implementations of Lifecycle by allowing thelifecycle-id to be specified as an init-param in addition to the existing way ofspecifying it as a context-param.■ 98 - Specified that “SelectManyCheckboxListRenderer: and “RadioRenderer” must renderthe “label” element after the “input element for each “SelectItem. Specified that the“label” element must refer to the “input” element using the “for” attribute. Please seeSection 8.5 “Standard HTML RenderKit Implementation” for more details.■ 99 - Specified Java EE 5 Generics usage where applicable.■ 105 - Specified that for commandButton rendering, the “image” attribute value must notbe escaped. Specified that for graphicImage rendering, the “src” attribute value must notbe escaped.■ 108 - Specified that JSF implementations that are part of a Java EE technology-compliantimplementation are required to validate the application resource file against the XMLschema for structural correctness. Also specified that validation is recommended, but notrequired for JSF implementatons that are not part of a Java EE technology compliantimplementation. Please refer to Section 10.4.2 “Application Startup Behavior” for moredetails.■ 111 - Specified that a component must allow child components to be added to andremoved from the child list of the current component, even though the child componentreturns null from getParent().■ 118 - Specified that an implementation of Map returned fromExternalContext.getSessionMap implement a “clear” method that calls “removeAttribute”on each attribute in the Servlet or Portlet session.119 - Specified that implementations running in a JSR-250 compliant container have theirmanaged bean methods annotated with @PostConstruct be called after the object isinstantiated, and after injection is performed, but before the bean is placed into scope.Specified that methods annotated with @PreDestroy be called when the scope for thebean is ending.■ 120 - Specified in the renderkit docs that commandButton rendering can generatejavascript for “onclick” attribute.■ 122 - Clarified renderkit docs with respect to what gets rendered for disabled commandlink attributes.■ 123 - Clarified renderkit docs with respect to dataTable attribute rendering.■ 124 - Clarified renderkit docs with repsect to graphicImage “alt” attribute.■ 131 - Specified that a compliant implementation must allow the registration of a converterfor class java.lang.String and java.lang.String.TYPE that will be used to convert valuesfor these types.■ 133 - Removed the incorrect statement: “"It is the callers responsibility to ensure thatsetViewId() is called on the returned view, passing the same viewId value." pertaining toViewHandler.createView()■ 134 - Fixed backwards compatability issues.■ 135 - Support Java EE 5 enums as valid types/■ 138 - Change the required return type for action methods to be Object instead of String.This allows the usage of Enums for the return type of action methods, as long as thetoString() method of the enum matches the expected value in the application configurationresources.■ 145 - Define new method on UIComponent, invokeOnComponent(). This will find acomponent in the tree by clientId and invoke a user specified callback on it. Please seeSection 3.1.8 “Component Tree Navigation” and Section 4.1.1.3 “Methods” [of UIData]for more details.■ jsf-ri 127 - Specify that FacesContext methods getClientIdsWithMessages( ) andgetMessages( ) must be implemented using order-preserving structures so the items in theiterator are returned in the order they were added with addMessage().Spec documentchanges■ 147 - Clarified grammer with respect to component id.■ 151 - Specified standard converter for Enums■ 152 - Specified EL coercion usage in API javadocs UISelectOne/UISelectMany (whenitems are compared in validation) and standard html renderkit docs during encoding ofselect components.■ 154 - Fixed FacesTag “name” attribute discrepency - made it a String (wasValueExpression).■ 155 - Specified “columnClasses”, “rowClasses” descriptions for panelGrid in renderkitdocs.160 - Added and specified ResponseWriter.writeText method that takes a UIComponentargument.■ The TLDDocs for the h: tag library are now a normative part of the spec.
浏览: 1120004 次
来自: 北京
不错!!!!!!
commonj 第三步,那个调用的方法要在哪里调?servle ...
学习了,不错~
com.lowagie.text.DocumentExcept ...
我想请问下
你哪个html里面引入的几个js文件没看懂!你 ...jsp 2.1和jsf 1.2规范发布预览版本_jsp文摘-虚拟主机资讯|虚拟主机动态
产品服务快速通道
----------------
==域名注册==
英文域名注册
中文域名注册
==网站推广==
==虚拟主机==
----------------
双线路虚拟主机
基本型虚拟主机
商用型虚拟主机
论坛型虚拟主机
功能型虚拟主机
Vip合租虚拟主机
虚拟主机性能对比
虚拟主机免费试用
机房速度测试
----------------
==租用托管==
服务器租用
----------------
==企业邮局==
购买企业邮局
----------------
==付款方式==
----------------
==联系我们==
您当前位置:->-> ->
jsp 2.1和jsf 1.2规范发布预览版本_jsp文摘
作者:网友供稿
  西部数码-全国虚拟主机10强!20余项管理功能,全国领先!第6代双线路虚拟主机,南北访问畅通无阻!可在线rar解压,自动数据恢复设置虚拟目录等.免费赠送访问统计,企业邮局.Cn域名注册10元/年,480元起,免费试用7天,满意再付款!P4主机租用799元/月.月付免压金!
文章页数:&
&&& J2EE的两种重要的表现层技术JSP和JSF发布了新技术规范的预览版本,其中最重要的一点是两者将表达式语言(Expression Language,EL)部分合二为一。在不久的将来,这两种技术有可能更进一步地彼此融合,成为一种统一的表现层技术。然而在J2EE社群的普遍观点中,如果单单作为一种视图技术,JSP并不是最佳的选择,Velocity和XSLT等基于模板的视图技术通常比JSP更方便;而基于组件的JSF也面临广泛的信任危机。两者的组合是否能得到业界的认可,还需要时间的检验。
以下是官方公告
&&& 我们很高兴向大家宣告,JavaServer Pages、JSR-245下开发的Faces.JavaServer Pages(JSP)2.1和JSR-252下开发的JavaServer Faces(Faces)1.2的新版规范的Early Draft Review发布。
&&& JSP 2.1把Expression Language(EL)输出到它自己各自分离的文档中,在技术上,这些文档是JSP规范的子文档。这些统一的EL规范定义了一个更高层的java 包,javax.el。这个包与使用它的技术之间完全独立,并且允许此技术将自身插入EL处理过程。更改的JSP规范遵从使用标准化EL的规范。
&&& 对于前面提到的JSR-252,这个规范并没什么新特性。Faces 1.2支持新的标准化EL,还包含一些bug修复的相关规范。
&&& Faces和JSP在JSRs下的结盟带来了一些新功能,也为将来的发展打下了坚实的基础。例如,在同时使用Faces和JSP的web应用中,网页仅使用JSP(不包含任何faces内容)来访问Managed Beans成为可能。在JSP规范的附录E中和Faces规范的前言中都可以看到更改内容的细节。
&& JSP 2.1 EDR (JSR-245)&&&& && Faces 1.2 EDR (JSR-252)&&&&
文章整理:西部数码--专业提供、服务
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!
文章页数:&
??????????
??????????
版权申明:本站文章均来自网络,如有侵权,请联系我们,我们收到后立即删除,谢谢!
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有。
版权所有 西部数码()
CopyRight (c) 2002~ all right reserved.
公司地址:四川省成都市金牛区一环路北一段99号环球广场24楼 邮编:610031
电话总机:028-08 38
售前咨询:总机转201 202 203 204 206 208
售后服务:总机转211 212 213 214
财务咨询:总机转224 223 传真:028- 财务QQ:
售前咨询QQ:2182518
售后服务QQ:JSP 2.1和JSF 1.2规范发布预览版本
下面请跟着图老师小编一起来了解下JSP 2.1和JSF 1.2规范发布预览版本,精心挑选的内容希望大家喜欢,不要忘记点个赞哦!
  &&& J2EE的两种重要的表现层技术P和发布了新技术规范的预览版本,其中最重要的一点是两者将表达式语言(Expression Language,EL)部分合二为一。在不久的将来,这两种技术有可能更进一步地彼此融合,成为一种统一的表现层技术。然而在J2EE社群的普遍观点中,如果单单作为一种视图技术,JSP并不是最佳的选择,Velocity和XSLT等基于模板的视图技术通常比JSP更方便;而基于组件的JSF也面临广泛的信任危机。两者的组合是否能得到业界的认可,还需要时间的检验。  以下是官方公告    &&& 我们很高兴向大家宣告, Pages、JSR-245下开发的Faces.JavaServer Pages(JSP)2.1和JSR-252下开发的JavaServer Faces(Faces)1.2的新版规范的Early Draft Review发布。  &&& JSP 2.1把Expression Language(EL)输出到它自己各自分离的文档中,在技术上,这些文档是JSP规范的子文档。这些统一的EL规范定义了一个更高层的java 包,javax.el。这个包与使用它的技术之间完全独立,并且允许此技术将自身插入EL处理过程。更改的JSP规范遵从使用标准化EL的规范。  &&& 对于前面提到的JSR-252,这个规范并没什么新特性。Faces 1.2支持新的标准化EL,还包含一些bug修复的相关规范。  &&& Faces和JSP在JSRs下的结盟带来了一些新功能,也为将来的发展打下了坚实的基础。例如,在同时使用Faces和JSP的应用中,网页仅使用JSP(不包含任何faces内容)来访问Managed Beans成为可能。在JSP规范的附录E中和Faces规范的前言中都可以看到更改内容的细节。  && JSP 2.1 E (JSR-245)  &&&& http://jcp.org/aboutJava/communityprocess/edr/jsr245/  && Faces 1.2 EDR (JSR-252)  &&&& http://jcp.org/aboutJava/communityprocess/edr/jsr252/& 搜索“图”或者“tulaoshi_com”加关注,每天最新的美食、、、美妆、、手工DIY等教程让你一手全掌握。推荐关注!【扫描下图可直接关注】
来源:/n/9500.html
点击查看更多与《》相关的文章>>
个人考勤软件开发实例配套代码 2.1版(Update),个人考勤软件开发实例配套代码 2.1版(Update)
下面是个超简单的第二章 asp提高篇(已经发布):2.1 全面解析Server对象教程,图老师小编精心挑选推荐,大家行行好,多给几个赞吧,小编吐血跪求~
《巫师3 狂猎》1.10版符文发光规律一览攻略,《巫师3:狂猎》是《巫师》系列的第三部,也是系列最终作品。下面小编为大家带来的是玩家分享的游戏1.10版中符文发光的规律。一起来看看吧!"> document.execCommand("BackgroundImageCache", false, true) <link href="http://img./v5/page/css/layout.css" rel="stylesheet" type="text/css
《我的世界》1.9预览版本新玩法详细解析,《我的世界》游戏1.9版本已经出来了,大家知道游戏添加了哪些新内容吗?下面小编为大家分享下《我的世界》1.9预览版本新玩法详细解析,希望大家喜欢!
今天图老师小编要向大家分享个Win10预览版或将单独更新 不局限于完整版本推送教程,过程简单易学,相信聪明的你一定能轻松get!
Win10技术预览版现已公开提供下载,那么,Win10技术预览版怎么安装呢?本文笔者为新手朋友们详解一下常用的几个安装方法,请根据自己的需求选择最佳安装法。
热门搜索:
在电脑里怎样设置XP系统开关机音乐
PS效果 使用PS打造梦幻光晕美女
PS字效教程 教你使用PS制作可爱字体步骤
PS教程 教你使用PS制作颓废qq签名档图片
现在很多人都非常喜欢饲养狗狗,而且饲养金毛狗狗的人可以说是非常多的,毕竟金毛狗狗非常的可爱,而且性格非常温顺。所以饲养的人当然很多。那么喂养金毛狗时要注意什么?一起来看看吧。
现在很多人都非常喜欢饲养狗狗,而且饲养金毛狗狗的人可以说是非常多的,毕竟金毛狗狗非常的可爱,而且性格非常温顺。所以饲养的人当然很多。那么金毛狗狗不能吃哪些东西?一起来看看吧。
现在很多人都非常喜欢饲养狗狗,而且饲养金毛狗狗的人可以说是非常多的,毕竟金毛狗狗非常的可爱,而且性格非常温顺。所以饲养的人当然很多。那么饲养金毛犬时要注意什么?一起来看看吧。
助跑器是田径运动必备的器材之一,类直三角形状,注意助跑器脚蹬立体感,让助跑器简笔画更具特色。接下来我们就通过助跑器儿童简笔画教学步骤图解来学如何画助跑器儿童简笔画。
怎么利用Photoshop给电商模特照片精修磨皮?很多朋友在工作中经常会遇到要求精修模特的情况,特别是做化妆品行业的电商设计师,所以总结了一下我的模特修图方法和技巧与大家分享,喜欢的朋友让我们一起来学习吧。
磨皮是我们ps照片最基本的技能,Photoshop人物磨皮是我们必须掌握的,如今不少国人对Photoshop修图的三大酷炫神技双曲线、中性灰与高低频几近痴迷,抓耳挠腮想学会它,下面一起看看教程吧。
掌握一点Photoshop教程对你是非常有用的,这篇教程是给大家分享PS简单快速创建眼睛彩虹美瞳效果方法,教程最终创建出来的效果非常漂亮,而且难度并不是很大,很值得大家学习,一起来学习吧。
2017年最受欢迎的生活服务APP!!生活服务类App的出现为日常生活带来极大便利,我们可以通过手机客户端预约各种家政服务,足不出户就能够享受实惠、便捷的生活服务,那么接下来我为大家推荐一些生活中必备生活app。
由于现在抢红包大热起来,很多app都开始支持发红包抢红包了,因此也出现了微信抢红包神器,可以自动抢微信红包,肯定比认为手动操作快,有消息就会自动打开,然后打开红包。今天就给大家分享2017微信自动抢红包神器大全。
2017手机赚钱软件排行榜!!很多朋友都在苦恼每天的钱不够话,空闲时间不知道怎么打发,总想寻找一种简单的赚钱方式,我们的手机app就有很多,下面具体给大家介绍手机赚钱软件有哪些,总有一款你中意的。
经常玩微信的朋友都知道,微信小程序已经全面上线了,对于小程序的出现是否会引发App变革众说纷纭,但不可否认的是小程序能够带给用户及产商一定的便利,那么今天为大家汇总目前上线的一些实用小程序。
男女交往一直都是人们比较关注的一个问题,都说相爱容易,相处不易,交往过的朋友应该都能深刻的体会到,女生常常抱怨着让男生理解自己,但男生也希望多体谅一下他们。尤其不要老是问一些无法回答的问题来考验他们。
很多朋友都信风水一说,对于自己家里房屋客厅的装修也是有一定要求的,因为客厅的风水关系着整个家居的运势,更关系着主人的财运与健康,因而客厅里的风水禁忌是需要我们谨慎注意的,那么风水学中客厅风水禁忌有哪些呢?
春天已经来临了,夏天也不远了,新的一才刚刚开始,时尚爱美的美眉们最关注的就是春夏服装设计的流行趋势了,早早的把握住时尚趋势走在流行的最尖端,今天就给大家整理分享2017春夏女装设计流行趋势 ,你绝对不能错过的亮点。}

我要回帖

更多关于 jsfa8601cu驱动 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信