Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

DomUI does not have a specific "form" component. Instead forms are built either by hand by adding components, or forms are being built by a Form Builder. A form builder is not a component by itself (so it is not added to a page), but it is a utility that helps building a form by creating the appropriate layout and input nodes.

DomUI contains many FormBuilders, most of them are attempts to "get it right". This describes one of them: FormBuilder in package form4.

TBD


Binding to controls

By default the value for controls will be bound to the instance and property passed to the form builder:

fb.property(d, Definition.pNAME).control();

This will cause the "value" property of the automatically created control to be bound to the "name" property of the thing that is in "d".

While value binding is the most common kinds of binding we have others that can be done too.

ReadOnly binding


Disabled binding





  • No labels