| java.lang.Object org.apache.cocoon.woody.binding.JXPathBindingBase org.apache.cocoon.woody.binding.RepeaterJXPathBinding
RepeaterJXPathBinding | public class RepeaterJXPathBinding extends JXPathBindingBase (Code) | | RepeaterJXPathBinding provides an implementation of a
Binding that allows for bidirectional binding of a repeater-widget to/from
repeating structures in the back-end object model.
version: CVS $Id: RepeaterJXPathBinding.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | RepeaterJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String repeaterId, String repeaterPath, String rowPath, String rowPathForInsert, String uniqueRowId, String uniqueRowPath, JXPathBindingBase[] childBindings, JXPathBindingBase insertBinding, JXPathBindingBase[] deleteBindings, JXPathBindingBase[] uniqueBindings) | public | RepeaterJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String repeaterId, String repeaterPath, String rowPath, String rowPathForInsert, String uniqueRowId, String uniqueRowPath, Convertor convertor, Locale convertorLocale, JXPathBindingBase[] childBindings, JXPathBindingBase insertBinding, JXPathBindingBase[] deleteBindings, JXPathBindingBase[] uniqueBindings) |
Method Summary | |
public void | doLoad(Widget frmModel, JXPathContext jxpc) Binds the unique-id of the repeated rows, and narrows the context on
objectModelContext and Repeater to the repeated rows before handing
over to the actual binding-children. | public void | doSave(Widget frmModel, JXPathContext jxpc) Uses the mapped unique-id of each row to detect if rows have been
updated, inserted or removed. | public void | enableLogging(Logger logger) | public String | toString() |
RepeaterJXPathBinding | public RepeaterJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String repeaterId, String repeaterPath, String rowPath, String rowPathForInsert, String uniqueRowId, String uniqueRowPath, JXPathBindingBase[] childBindings, JXPathBindingBase insertBinding, JXPathBindingBase[] deleteBindings, JXPathBindingBase[] uniqueBindings)(Code) | | Constructs RepeaterJXPathBinding
|
RepeaterJXPathBinding | public RepeaterJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String repeaterId, String repeaterPath, String rowPath, String rowPathForInsert, String uniqueRowId, String uniqueRowPath, Convertor convertor, Locale convertorLocale, JXPathBindingBase[] childBindings, JXPathBindingBase insertBinding, JXPathBindingBase[] deleteBindings, JXPathBindingBase[] uniqueBindings)(Code) | | Constructs RepeaterJXPathBinding
|
doLoad | public void doLoad(Widget frmModel, JXPathContext jxpc) throws BindingException(Code) | | Binds the unique-id of the repeated rows, and narrows the context on
objectModelContext and Repeater to the repeated rows before handing
over to the actual binding-children.
|
doSave | public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException(Code) | | Uses the mapped unique-id of each row to detect if rows have been
updated, inserted or removed. Depending on what happened the appropriate
child-bindings are alowed to visit the narrowed contexts.
|
enableLogging | public void enableLogging(Logger logger)(Code) | | |
|
|