| org.apache.cocoon.forms.binding.JXPathBindingBase org.apache.cocoon.forms.binding.InsertBeanJXPathBinding
InsertBeanJXPathBinding | public class InsertBeanJXPathBinding extends JXPathBindingBase (Code) | | 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.
version: $Id: InsertBeanJXPathBinding.java 517733 2007-03-13 15:37:22Z vgritsenko $ |
doLoad | public void doLoad(Widget frmModel, JXPathContext jxpc)(Code) | | Do-nothing implementation of the interface.
|
doSave | public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException(Code) | | 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.
|
|
|