August 2005
Intermediate to advanced
509 pages
21h 36m
English
In this section, we show how to send a broadcast message to all portlets on a page that have implemented the MessageListener interface. For example follow these steps:
1. | Create a new portlet project:
|
2. | Open the MessagePortlet.java file located in the /Java Resources/JavaSource/message/ folder and modify the messageReceived() method to receive the broadcast message. You only need to check for a message of type DefaultPortletMessage, which is the type of message sent by ActionEventPortlet. Once the ... |
Read now
Unlock full access