[jboss-user] [JBoss Tools] Document updated/added: "JbtMetawidgetSupport "

Max Andersen do-not-reply at jboss.com
Wed Jan 20 05:04:27 EST 2010

User development,

The document "JbtMetawidgetSupport ", was updated Jan 20, 2010
by Max Andersen.

To view the document, visit:

h1. JBoss Tools Metawidget Support
This page is an attempt to collect together ideas and proposals for what http://metawidget.org support may look like within JBoss Tools.
h2. metawidget.xml
Metawidget can (optionally) be configured with an external XML file, typically named metawidget.xml. For more details see http://metawidget.org/doc/reference/en/html/ch01.html#section-introduction-part1-inspector-config.
*XML Schemas*
This XML format is similar to the Seam components.xml format, in that it uses XML namespaces to both identify Java packages and allow XML schema validation. The XML schemas for all Metawidget components are automatically generated at http://metawidget.org/xsd. For example http://metawidget.org/xsd/org.metawidget.jsp.tagext.html.layout-1.0.xsd.
JBoss Tools could help metawidget.xml construction by being aware of all XML schemas in http://metawidget.org/xsd.
Metawidget processes metawidget.xml using a ConfigReader class. This is lightweight, and it may be possible to run it in addition to XML schema validation to detect such errors as, say, class or package name incorrectly specified.
ConfigReader also does some sanity checks of its own, such as checking whether certain classes implement .equals and .hashCode, and it may to nice to alert the user of these at development time rather than application startup time.


More information about the jboss-user mailing list