Portlet Form Events

Runtime provides three events that are specific to portlet form types:

  • Portlet is Initialized

    This event occurs when runtime initializes the portlet form and before it initializes any forms which the portlet might contain.

  • Personalization Applied

    This event occurs immediately after initialization to apply previously-saved personalization data. It occurs again when the user clicks the Save button in personalization mode.

  • Portlet is Exited

    This event occurs when the portlet is unloaded by the container. Typically, this occurs as the user logs out or the session times out.

In addition to the portlet-specific events, portlets support the general events in this table:

Event

Browse Portlet

Edit Portlet

Grid Record is Fetched

Yes

Yes

Write Grid Line-Before

Yes

Yes

Last Grid Record Has Been Read

Yes

Yes

Notified By Child

Yes

No

Grid Record is Fetched

No

Yes

Write Grid Line-Before

No

Yes

Last Grid Record Has Been Read

No

Yes

Add Record to DB - Before

No

Yes

Add Record to DB - After

No

Yes

Update Record to DB - Before

No

Yes