Description
Metawidget provides powerful runtime scaffolding capabilites (among other cool features).
Installation
The current version of griffon-metawidget-plugin is 0.1
To install just issue the following command
Usage
The following nodes will become available on a View script upon installing this plugin
Node |
Property |
Type |
Default |
Required |
Bindable |
Notes |
|---|---|---|---|---|---|---|
metawidget |
|
|
|
|
|
the value of the node is used as the value of the |
stub |
name |
String |
|
|
|
Must match the name of the property to be stubbed |
The metawidget node accepts implicit configuration based on a file naming convention. For example, in the following application named sample with View script named sample.SampleView and an entity named sample.Person:
The following files will be searched the specified order in the classpath
sample/Person-metawidget.xmlsample/SampleView-metawidget.xmlsample-metawidget.xml
Any of these files can be placed griffon-app/resources. under You can override this search by explicitly specifying a value for config: in the node's properties.
Tighter integration with Metawidget will be added in future releases.
History
Version |
Date |
Notes |
|---|---|---|
0.1 |
10-21-11 |
Initial release |