Handle any events arriving from the browser for a component.
Firstly, IF the SConstants.SOURCE_CONTAINER is NOT set on the request OR the
SConstants.SOURCE_CONTAINER has NOT been put as a Value in the SwingletManager
then dispatch a new FormEvent to the SOURCE_COMPONENT.
Secondly, If the SConstants.SOURCE_CONTAINER is set on the request, AND the
SConstants.SOURCE_CONTAINER has been put as a Value in the SwingletManager
then the SConstants.SOURCE_COMPONENT is looked up below that container and a
new FormEvent is dispatched to that component.
If neither of these is found continue.
After the Event has been dispatched, then the target component is found.
If the SConstants.TARGET_COMPONENT is set and put as a Value in the
SwingletManager is it returned.
If the SConstants.SOURCE_CONTAINER is set then return that, otherwise return the
SConstants.SOURCE_COMPONENT.
Finally, If the SConstants.TARGET_COMPONENT is NOT set and the defaultTargetComponent has
been put as a Value in the SwingletManager is it returned.
defaultTargetComponent. The default target component if one is not set.This is usually a Frame, but may be a component, for JSP/ASP the SComponent that is a reposnse to the event. This Componentshould be painted. |