com.tonbeller.wcf.component
Interface FormListener

All Known Subinterfaces:
Component, Form, ITableComponent, NestableComponent
All Known Implementing Classes:
ComponentSupport, EditableTableComponent, FormComponent, FormSupport, LogItems, MappedListBox, NestableComponentSupport, PanelSupport, SelectionMgr, TableComponent, TestItems

public interface FormListener

FormListeners are notified about form changes.

Author:
av

Method Summary
 void revert(RequestContext context)
          reverts this component to model values
 boolean validate(RequestContext context)
          validates user input and updates the model
 

Method Detail

validate

public boolean validate(RequestContext context)
validates user input and updates the model

Returns:
true if validation was successful

revert

public void revert(RequestContext context)
reverts this component to model values