Previous | ||
<event-handlers> |
Attribute | Req/Opt | Default | Description |
name | Required | A unique event handler name. | |
access | Optional | public | public |private Whether the event is available for invokation publicly or internally by the framework only. |
<event-handler> registers an event-handler with the framework.
public
<event-handler>s are available both for access from the URL as values for event
and by the framework through xml.announce.pkg and MachII_framework_Listener::announceEvent().
Example code from a mach-ii.xml
file:
<mach-ii version="1.0"> ... <!-- EVENT-FILTERS --> <event-handlers> <event-handler event="showHome" access="public"> ... </event-handler> </event-handlers> ... </mach-ii>
Previous | ||
<event-handlers> |
Documentation generated on Thu, 20 Jan 2005 10:46:50 -0800 by phpDocumentor 1.3.0RC3