InsertBeanJXPathBinding provides an implementation of a Binding
that inserts a new instance of the specified bean (classname) or a new instance
created by the model itself into the target back-end model upon save.
NOTES:
This Binding does not perform any actions when loading.
This expects the back-end model to be a Java Bean model.
public void doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
Registers a JXPath Factory on the JXPath Context.
The factory will insert a new instance of the specified bean (classname)
inside this object into the target objectmodel or it will just call the
add method if classname is null.