|
This captures all events that could originate from the page,
including information on the handler objects that process these events on the
server side.
It should first be noted that events involving client
scripting like mouse over effects, are not captured by the event descriptors.
These specifications are strictly in regard to page interactions with the
server.
In short, the event descriptors capture specification on 1) all
event triggers on the page, and 2) provide associations between them and their
handlers on the server side.
One method of providing handlers to page events is through
backing beans or code behind. In these cases, backing beans or code behind that
contain these handlers, would be declared in the behavior-define descriptors,
along with other objects exposed to the page. It is based one these defined
objects that the method bindings used for event handling are specified in the
event descriptor.
Another way to expose handler object for use on the page is
by associating a URL path to the event handler. This URL path, with optional
method designation, would then be specified as the handler for the event. These
are rarely involving page event, but more related to action events. As such,
they are referred to as action paths, and action handlers.
dWebSpec provides for both means of exposing handlers to the
page.
|