message
Class MessageUtils
java.lang.Object
   message.MessageUtils
message.MessageUtils
- public class MessageUtils- extends java.lang.Object
Some functions for use with the dynamic mapping form.
 These could be put into a portlet's class/superclass instead.
| Field Summary | 
| static java.lang.String | MSG
 | 
 
 
| Method Summary | 
| static void | prepareMappingForm(javax.portlet.PortletRequest request,
                   java.lang.String portletID)To be called in doEdit.
 | 
| static void | processMappingForm(javax.portlet.ActionRequest request,
                   javax.portlet.ActionResponse response,
                   java.lang.String portletID)To be called in processAction when the edit_mappings.jsp form has been submitted.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MSG
public static java.lang.String MSG
MessageUtils
public MessageUtils()
prepareMappingForm
public static void prepareMappingForm(javax.portlet.PortletRequest request,
                                      java.lang.String portletID)
- To be called in doEdit. Puts stuff in the request attributes for use by
 edit_mappings.jsp; the doEdit code subsequently needs to include this jsp.
 
- 
 
processMappingForm
public static void processMappingForm(javax.portlet.ActionRequest request,
                                      javax.portlet.ActionResponse response,
                                      java.lang.String portletID)
- To be called in processAction when the edit_mappings.jsp form has been submitted.
 Reads in the values and updates the MessageCentre, then saves to the portlet's preferences.
 
-