The value handlers in general
To provide maximum extensibility to the MForm framework, the idea of value handlers
has been introduced. Each LeafItem has a specific value handler. Each
value handler is associated with a specific value control. The value control of
the value handler should be a inner content property of the value handler, so the
TextBox value control should be inside TextBoxValueHandler,
a ListBox control should be inside ListBoxValueHandler,
etc. All standard MForm value handlers which cover the standard form input controls
are in the BM.Tools.WebControls.MForm.Controls.ValueHandlers
namespace.
A value handler is a control that is responsible for communication between the Leaf
item and the value control. Particularly, the value handler control sets the value
of the value control before the form is displayed and gets the value when the form is back (on the server side) and controls
both the value getting/setting when the form is displayed (on the client side).
The server side part of getting/setting the control value is done through the Value property.
This property needs to be implemented for every value handler.
The client side part of getting and setting the control value is done through the
getControlValue and setControlValue javascript methods.