message.portlets
Class WiredListingPortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended bymessage.portlets.JSPPortlet
          extended bymessage.portlets.ListingPortlet
              extended bymessage.portlets.WiredListingPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class WiredListingPortlet
extends ListingPortlet

This is an example of a portlet with message mappings configurable by the portal user. It extends ListingPortlet, adding this new functionality. It uses edit_mappings.jsp and the functions in MessageUtils to do the dynamic mappings.

See Also:
EbaySearchBookPortlet, MessageUtils

Constructor Summary
WiredListingPortlet()
           
 
Method Summary
 void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 java.lang.String getInstanceID(javax.portlet.PortletSession portletSession)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class message.portlets.ListingPortlet
doHelp
 
Methods inherited from class message.portlets.JSPPortlet
include
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiredListingPortlet

public WiredListingPortlet()
Method Detail

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Overrides:
doView in class ListingPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

doEdit

public void doEdit(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Overrides:
doEdit in class ListingPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class ListingPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

getInstanceID

public java.lang.String getInstanceID(javax.portlet.PortletSession portletSession)
Overrides:
getInstanceID in class ListingPortlet