FormModel.java :  » Web-Framework » RSF » uk » org » ponder » rsf » componentprocessor » Java Open Source

Java Open Source » Web Framework » RSF 
RSF » uk » org » ponder » rsf » componentprocessor » FormModel.java
/*
 * Created on Nov 1, 2005
 */
package uk.org.ponder.rsf.componentprocessor;

import uk.org.ponder.rsf.components.UIComponent;
import uk.org.ponder.rsf.components.UIForm;
/** An interface recording the relationship between a "Form" (scope for a 
 * set of submitting controls) and its children. This interface will probably
 * become disused since UIForm now collects IDs of children separately.
 * @author Antranig Basman (antranig@caret.cam.ac.uk)
 *
 */
public interface FormModel {
  /** Registers a component as one that will be submitted
   * by the specified form control. 
   */
  public void registerChild(UIForm parent, UIComponent submittingchild);
  public UIForm formForComponent(UIComponent component);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.