| A FormHandler can be registered with a
org.apache.cocoon.forms.formmodel.Form Form ,
and will then receive all events fired by widgets on the form.
It provides an alternative way of handling events, instead of specifying the eventhandlers
in the form definition.
It is useful when you want to write your event-handling code in Java, have all events
handled by one class (which could of course again delegate to other classes), and when
you want the event handler to have access to objects it would not be able to get access
to if they were part of the form definition.
version: $Id: FormHandler.java 449149 2006-09-23 03:58:05Z crossley $ |