01: /*
02: * Created on Nov 1, 2005
03: */
04: package uk.org.ponder.rsf.componentprocessor;
05:
06: import uk.org.ponder.rsf.components.UIComponent;
07: import uk.org.ponder.rsf.components.UIForm;
08:
09: /** An interface recording the relationship between a "Form" (scope for a
10: * set of submitting controls) and its children. This interface will probably
11: * become disused since UIForm now collects IDs of children separately.
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: *
14: */
15: public interface FormModel {
16: /** Registers a component as one that will be submitted
17: * by the specified form control.
18: */
19: public void registerChild(UIForm parent, UIComponent submittingchild);
20:
21: public UIForm formForComponent(UIComponent component);
22: }
|