阅读更多

6顶
0踩

编程语言

原创新闻 Click 2.1.0 RC1 发布

2009-07-08 12:11 by 正式编辑 hantsy 评论(0) 有4698人浏览

Apache Click 团队宣布 Click 2.1.0 的第一个候选版本发布。这是第一个需要 Java 5 的发布版本。

 

Apache Click 一种简单的面向页面和组件的 Java web 框架,提供自然富客端形式的编程模型。Click 是无状态的,而它却支持有状态的页面。 有关更详细的信息,请参阅 入门文章

 

本次发布包含1.5.2 以来的所有bug修复,还有一些新特性,实例和文档。文档已经转换成了docbook格式,并已经提供三种可选的格式 : PDF, HTML (单页) 和 HTML (多页).

New features:

  • Added new Calendar popup to DateField. This Calendar popup uses Calendar Date Select which is based on the Prototype JavaScript library. Please note if you don't want a dependency on the Prototype library you can use the third-party Click Calendar instead.
  • Added first class support for HEAD elements such as JavaScript and Css. The following classes were added: Element, ResourceElement, JsImport, JsScript, CssImport and CssStyle. A new method was added to Page and Control: Control.getHeadElements() and Page.getHeadElements() [501].
  • Added SubmitLink control that can submit a Form [519].
  • Added HiddenList control for rendering and submitting a list of hidden fields [491].
  • Added plug-able security access controller (AccessController) to Menu class. This plubable interface enable use of security frameworks such as Spring Security (Acegi) or JSecurity to control user access to Menu items. This issue was raised by Demetrios Kyriakis [406].
  • Added method, ClickUtils.createTemplateModel, that returns a template model containing objects such as the Context path, Page path, HTTP request, HTTP response, HTTP session etc. This method is useful when rendering custom templates.
  • Added ability to specify a custom TreeNode icon through the new method TreeNode.setIcon(String). This issue was raised and fixed by Tim Hooper [494].
  • Added method Format.url for encoding URL's in templates [399].
  • Added method FieldColumn.setProperty that can be overriden to provide custom binding for complex domain objects. This issue was raised and fixed by WarnerJan Veldhuis [528].
  • Added TypeConverter configuration option to ClickServlet. See getTypeConverter() method for details. This issue was raised Joseph Schmidt and fixed by Adrian A. [539].
  • Added Slf4jLogService for supporting multiple application servers. This issue was raised Oliver Burn [555].
  • Added @Bindable annotation support for page field autobinding [556].
  • Improved Page redirect to support parameters. See the new Page methods setRedirect(String, Map) and setRedirect(Class, Map) This issue was raised and fixed by Adrian [536].
  • Improved Link Controls to support multivalued parameters through the new AbstractLink methods getParameterValues() and setParameterValues() [554].
  • Improved Table to support very large datasets by promoting the methods getFirstRow() and getLastRow() as public. These methods provide the necessary information to only retrieve the displayed rows [504].
  • Improved LinkDecorator to support target identfier property parameter names. This issue was raised by Demetrios Kyriakis and fixed by fixed by Adrian A. [400].
  • Improved PickList methods getValueObject() and setValueObject(Object) to delegate to getSelectedValues() and addSelectedValue(String) respectively [490].
  • Improved Spring integration with SpringClickServlet and PageScopeResolver, supporting Spring instantiated Pages with @Component configuration [534].
  • Improved CompressionServletResponseWrapper and CompressionResponseStream classes to have public visibility to enable use in custom servlet Filters [547].
  • Improved Menu control to render attribute class="selected" when the menu item is selected. This issue was raised and fixed by Frederic Daoud [551].
  • Improved PerformanceFilter to implement exclude-paths filtering [498].
  • Improved XmlConfigService to scan for deployable resources inside folders on the classpath [552].
  • Improved Cayenne DataContextFilter, including adding support for LifecycleListener registration [559].
  • Fixed PerformanceFilter and CompressionFilter to properly handle requests [557].


Deprecated:


Updated third-party libraries:

  • Update Velocity library to version 1.6.2.
  • Update Cayenne library to version 3.0M6.
  • Update Prototype.js library to version 1.6.1_RC2.


New Documentation:


New examples:


Enjoy.

- The Click team

---

来自: JavaLobby
6
0
评论 共 0 条 请登录后发表评论

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

  • Delphi精要 高清PDF版 带目录

    对Delphi程序设计有很大帮助的一本书,看完了编程水平大有提高

  • Delphi内嵌汇编语言BASM精要(转帖)

    1 BASM概念简要   汇编语句由指令和零至三个表达式构成。表达式由常数(立即数)、寄存器和标识符构成。例如: movsb        // 单指令语句 jmp @Here    // 一个表达式: 标识符 add eax,1    // 两个表达式: 寄存器和立即数 // 三个表达式: 寄存器, 标识符(内存地址), 立即数 imul edx, [ebx].RandS...

  • 《Delphi精要》

    电子工业出版社2004年1月出版,5月第二次印刷。详见: http://www.dearbook.com.cn/book/viewbook.aspx?pno=TS0020610 <shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t...

  • delphi精要之(二)

    Ctrl+Shift+方向键:将所选组件的位置移动一个栅格。  Shift+TAB:选择当前组件的上一个组件。 Esc:选择当前组件的容器(通常是 TPanel、TGroupBox、TForm等)。 Ctrl+J:插入标准语法代码。 Ctrl+Y:删除光标所在行。 Ctrl+BackSpace:向前删除一个单词。 Ctrl+Shift+G:插入 GUID 号。  Ctrl

  • delphi 精要

    type TDropFilesEvent = procedure(Receiver: TWinControl; const FileNames: TStrings;const FilesCount: Integer; const DropPoint: TPoint) of object; TlxpDraggingFilesMonitor = class(TComponent) {由于组件在运行时不

  • sunjun0427

    ====================================================== 注:本文源代码点此下载 ====================================================== delphi的经典书籍: 1、《delphi 技术手册》 ray liscbner著 632页 65元 中国电力出版社 2、《delphi 5

  • Delphi精要

    PDF电子书--Delphi精要

  • Delphi 精要

    本书的核心内容是讲述Object Pascal 和VCL的重、难点知识(即所谓“精要”),集中于第3章、第5章。第2章、第4章阐明相应的一些基本概念,是为初学者而设立。

  • 015_《Delphi精要》(附书源码)

    Delphi 教程 系列书籍 (015) 《Delphi精要》 附书源码 网友(邦)整理 EMail: shuaihj@163.com

  • Delphi经典教程(PDF版).pdf

    Delphi经典教程(PDF版).pdfDelphi经典教程(PDF版).pdf

  • delphi精要 配书以及源代码

    delphi精要 配书以及源代码

  • Delphi新手必看--Delphi精要

    国人写的关于Delphi相当不错的入门级别的书籍,真正理解、吸收了,就可以进阶Delphi高手了

  • 吐血整理 Delphi系列书籍 118本(全)

    吐血整理 Delphi系列书籍 118本(全) Delphi 教程 系列书籍 网友(老帅)整理001_《Delhpi6数据库设计思想与实践》 002_《Delphi6应用开发指南》 003_《Delphi6开发人员指南》 004_《Delphi6数据库开发典型实例》 005_《Delphi6组件大全》 006_《深入Delphi6 网络编程》 007_《Delphi6数据库深入编程技术》 008_

  • Delphi精要及光盘源代码

    Delphi精要及光盘源代码

Global site tag (gtag.js) - Google Analytics