阅读更多

6顶
0踩

编程语言

原创新闻 Click 2.1.0 RC1 发布

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

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精要之(二)

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

  • sunjun0427

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

  • Delphi精要(附源码)

    delphi经典书籍,附带有随书的源码,方便阅读时调试实验

  • Delphi 精要

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

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

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

  • 015_《Delphi精要》

    本书的核心内容是讲述Object Pascal 和VCL的重、难点知识(即所谓“精要”),集中于第3章、第5章。第2章、第4章阐明相应的一些基本概念,是为初学者而设立。本书也是一本参考手册,包括了“IDE的快捷键列表(2.8)、“编译指令”(3.4)、“VCL消息大全(5.2.4)、“常用函数和过程”(第8章)以及一些常用的、重要的开发技巧(第9章)等内容。本书同时也较为全面地讲述了组件开发知识,集中于第6章、第7章。第10章通过一个实例综合运用了全书内容。

  • Delphi精要_罗小平.7z.002

    Delphi精要 罗小平 PDF扫描版 7z.002 第二部分 由于大于20M 只有文件分割了 请下载 相关的 001 谢谢

  • delphi精要 配书以及源代码

    delphi精要 配书以及源代码

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

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

  • 062_《Delphi7完美经典》

    本书特色层次清晰、语言通俗、语法简练、以实用性为第一位。 深入剖析了Object Pascal程序语言,包括指针、数据结构以及有关Override 和Overload函数的语法等。 对面向对象的观点详述了Delphi VCL组件的属性、方法及事件,且在数据库设计方面辅以应用的范例。实例配有光盘,快速引导您踏入Delphi程序开发领域。 适合想要深入了解Delphi程序设计的专业设计师,对一开始就想打好Delphi程序设计基础的初学者也非常适用。

  • 《Pascal精要及时间函数大全》Delphi精要及时间函数大全.zip

    《Pascal精要及时间函数大全》Delphi精要及时间函数大全.zip

Global site tag (gtag.js) - Google Analytics