# <event-handler>

Defines an event or "page" in the application.

## Attributes

1. Name (Required) - A unique name for the event handler. This defines how the event will be accessed through the URL, such as "index.cfm?event=MyEvent".
   If an <event-handler> is added whose NAME attribute is in use by another event-handler, it will overwrite the previous event-handler, except in the case of the predefined modelglue.onRequestStart, modelglue.onQueueComplete, and modelglue.onRequestEnd event-handlers. In this case, any messages, views, or results defined will be added to the predefined event handlers.

2. Access (Optional, defaults to "public") - If set to "private," the event handler cannot be accessed directly through the URL.

## Child Tags

1. <broadcasts>

2. <results>

3. <views>