• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Required, sample of a portlet supporting both events (publishing & processing).

 
SanZ Smart
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can write a portlet which supports either publishing or processing event.
If I want to write a portlet which supports both i.e. publishing & processing event, then how can I do it?

case 1:
Portlet A ---> Portlet B (Portlet A publishes event)
Portlet A <--- Portlet C (Portlet A processes event)

OR

case 2:
Portlet A --->Portlet B (Portlet A publishes event)
Portlet A <---Portlet B (Portlet A processes event)

Please share sample portlet code including portlet.xml for Portlet A for cases given above.

Thanks in advance.
 
Ashish Sarin
author
Ranch Hand
Posts: 432
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download the src-ch-9t011.zip source code archive from the following location http://code.google.com/p/portletsinaction/downloads/list. Chapter 11 contains examples of sending and receiving portlet events.

regards
ashish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic