org.apache.cocoon.forms.event
Interface FormHandler

All Known Implementing Classes:
AbstractFormHandler

public interface FormHandler

A FormHandler can be registered with a 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.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Method Summary
 void handleEvent(WidgetEvent widgetEvent)
           
 

Method Detail

handleEvent

public void handleEvent(WidgetEvent widgetEvent)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.