人若无名,便可专心练剑

记下心路、学习的路程,回头方知真的自我。

2006年7月24日 #

Wicket 1.2.1 发布了

        Wicket使开发者可以使用Java、HTML开发动态的Web应用程序,是基于Apache 2 协议的开源Web层框架。新版本修复了先前版本的一些Bug。并添加了一些新的特性。加入了对Portlet (JSR-168)的支持(本人很喜欢的一个功能,可是范例程序没有同时发布,不过相信不会让大家等太长的时间)。
       
  • For improved reliability, instead of utilizing cookies and falling back on a quirky JavasScript, we now use window.name to detect whether we are in sync with the proper page map.
  • AjaxFormSubmitBehavior no longer incorrectly calls onSubmit() if an error occured during form processing (this aligns it with Button.onSubmit() semantic), instead a new onError() method will be called to allow for error related ajax target processing
  • Added IDebugSettings.serializeSessionAttributes instead of relying on logger set to debug mode for the session store
  • Several bug fixes to the Palette component
  • Property model will now correctly work when chained with a compound model
  • Fix for firefox not parsing xml-responses after the pages document.domain has been changed to the base-domain. Implemented a workaround for an inconsistency between different servlet containers and a bug in the servlet spec which does not seem to state what should happen with empty valued request parameters. This caused Wicket to have some problems (like a failing required test) with Jetty 6.
  • Implemented anchors on Links. You can either provide a component that is to be used for getting the anchor, or provide an anchor in the href attribute of <a tags.
  • Portlet (JSR-168) support
  • Ajax Checkbox now uses onclick instead of onchange which works correctly
  • Replace GPL licensed diff util with a Apache licensed one
  • Redirect URLs sometimes were not being encoded for redirects, preventing 'cookie-less' operation (most notably when used with redirectTo). Fixed by always encoding redirects low-down; encoding multiple times has no effect.
  • Package resources do not have to be pre-registered anymore. When a shared resource is not found, Wicket tries to find a corresponding package resource, and if it finds one, registers it lazily. This fixes quite a few uncomfortable situations, and makes writing custom components easier. Package resources may be blocked by utilizing IPackageResourceGuard (IResourceSettings). By default everything except files with the extension 'html', 'class', 'java', and 'properties' are served. Fixes amongst others bug 1490949. All methods that took Pattern are now deprecated and will be removed in 2.0.
  • Fixed setting the shared resource path so that it strips any jsession id (or whatever there may be between [path];[whatever][?(optional)] which was a problem when a browser doesn't support cookies
  • Added rating component to extensions
  • Added Component.replaceWith(Component) to provide better readability and better context for errors that arise from replace actions
  • posted @ 2006-07-24 20:11 无名 阅读(134) | 评论 (0)编辑 收藏

    仅列出标题