Entering content frame

Background documentation Event Handling Locate the document in its SAP Library structure

When deriving from com.sapportals.portal.prt.AbstractPortalComponent, the following default behavior applies to the event handling:

·        Corresponding to the events mentioned above, the following methods are called:

¡        doOnNodeReady()

¡        doOnPOMReady()

¡        doBeforeContent()

¡        doAfterContent()

¡        doOnNodeRemove()

·        For request events there is a special treatment. When it is given a name xxx of the event, the default implementation tries to call a method doXxx(IPortalComponentRequest, IPortalRequestEvent). If this method is not available, the doRequestEvent(IPortalComponentRequest, IPortalRequestEvent) is called.

·        For component events, a similar treatment is executed. When it is given a name xxx of the event, the default implementation tries to call a public method doXxx(IPortalComponentRequest, IPortalComponentEvent). If this method is not available, the doComponentEvent (IPortalComponentRequest, IPortalComponentEvent) is called.

·        In addition to this, the filter attached to the listener is invoked before proceeding with normal event handling, and the filter can decide either to accept or to reject the event handling using the following method:

¡        boolean accept (IPortalComponentEvent) – returns true, if event handling should take place

 

 

Leaving content frame