Metawidget: Display Screens, Facelets, and Improved Pluggability
Although it is a minor release, and again pre-1.0, (in fact, v0.43), a number of significant enhancements have now been made available. The release focuses specifically on the following feature enhancements:
- Read-only mode for displaying business objects.
Metawidgets can now toggle a setReadOnly mode, so now Metawidget can not only automatically generate the UI for data entry screens but also data display screens too. This potentially doubles the number of places in an application where a chunk of boilerplate code can be replaced with a Metawidget call.
Metawidget: now twice as useful!
- Facelets support.
The Java Server Faces (JSF) Metawidget now supports the popular Facelets framework. Coupled with the existing JBoss RichFaces support, this makes it easy to retrofit existing JBoss Seam applications to remove boilerplate code.
Using Metawidget with Seam, Facelets, JPA and Hibernate Validator
- Mixin to ease development of custom Metawidgets.
Whilst all Metawidgets necessarily extend the base classes of their target framework (such as JComponent for Swing and UIComponent for JSF), the new MetawidgetMixin gives a boost to those looking to develop custom Metawidgets. It provides pre-built functionality such as deciding when to use single versus compound widgets, support for overriding widgets, incorporating stubs, and changing between read-only and active modes.
Implementing Your Own Metawidget and Plugging into Metawidget.
When learning about Metawidget, the best place to start is the Reference Documentation (PDF).
Your feedback is invaluable to the Metawidget team, use the Forums on the Metawidget site for this purpose.