Wicket是是由几个原JSF团队(可能现在还是)的工程师设计的基于web应用框架的高级组件,其主要特点:
* 在HTML和java之间的明确分隔
* OO组件模式
* 自动状态管理
* 高度生产化
* 低学习投入
* 屏蔽Servlet API、HTTP协议细节
* 无需XML配置文件
* 易于构造可重用组件
新版本带来的新特性:
-Native, cross-platform AJAX support: use AJAX without having to write a single line of JavaScript. Wicket's AJAX cross-platform capabilities have been rated 'A' (i.e., very much cross-browser) along with some other popular libraries like DOJO
-Render multiple components in one AJAX call, where each component can occupy any part of the page
Improved markup inheritance: panels, pages, header contributions
Improved and simplified internationalization (i18n) support, using
-Out of the box default resource bundles for many languages, including English, German, Spanish, Portugese, French, Hungarian, Dutch, Finnish, Danish, Swedish, Japanese, Chinese, Italian, Bulgarian and Farzi (Iranian)
Multiple form component validation, validate two or more fields that are related
Improved form handling: clear form validation workflow that allows you to define required and type conversion attributes of a form component much easier than in the past
-Nice URL support through URL mounting
-Markup fragments (inline panels)
-Improved performance by replacing OGNL with our own object graph language parser
-Response filter support, added ServerTime and ServerClientTime filters
-Reloading of resource bundles in development mode
-Improved unit test support for your Wicket components and pages through the WicketTester, create unit tests that run outside the container
-Out-of-the-box AJAX components: paging navigator, link with fallback, auto-updater, AJAX form, AJAX submit buttons, etc.
-Improved authorization and authentication support, giving you the power to specify authorization at the component level. An example project featuring a role based, annotation framework is now part of the standard distribution.
-Spring support for injecting your business logic into your web pages and components in a non-intrusive manner, while still being able to use the convenient Wicket idiom for creating pages (using the Java new operator)
-Improved settings system: settings are now partitioned into logical groupings to make them easier to find
Numerous bug fixes and minor improvements
标签: