Interwindow Communication Events and Messages

Interwindow communication involves publishing and subscribing to messages.

Triggering Events

The first half of interwindow communication is a JavaScript event that triggers the publication of a message:

  • OnChange

    The user changes a value in a field on a transaction page or pagelet.

  • OnClick

    The user clicks a button or link on a transaction page or pagelet.

Message Subscriptions

The second half of interwindow communication is the consumption of the published message by subscribing objects only:

  • Full refresh

    If full refresh is set for the object, the entire object is refreshed from the database (with URL parameters if specified). Therefore, any message data is essentially lost.

  • Partial refresh

    If partial refresh is set for the object, only the data as specified in the message definition is updated, not the entire object.

    Important:

    In addition, by requiring that some HTML field be identified as the acted upon field, interwindow communication ensures that a server trip is invoked regardless of whether the component or field is in deferred processing mode.