| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.FormKey
This object is returned by the event handlers. It indicates the form to which control should be passed & the corresponding Component's id. Ensure that a 'forward' mapping exists for the formName in the struts-config file. The formName and componentId are immutable properties and can only be passed in the constructor. The title can be set at any time and is mainly for use in the historyNav.jsp, for displaying the history bar links.
| Constructor Summary | |
| FormKey(String formName,
               String componentId)Constructs an instance of the FormKey class | |
| Method Summary | |
|  Object | clone()Returns a clone of the object. | 
|  int | compareTo(Object obj)Compares this object with another FormKey object. | 
|  boolean | equals(Object obj)Compares this object with another FormKey object. | 
| static FormKey | getCloseBrowserFormKey()Returns the FormKey that will render the JSP used for closing a browser window. | 
|  String | getComponentId()Returns the componentId | 
|  String | getFormName()Returns the formName | 
|  String | getTitle()Getter for property title. | 
|  int | hashCode()Returns an int which will be the sum of the of the hashcodes of componentId, formName. | 
|  void | setTitle(String title)Setter for property title. | 
|  String | toString()Returns the debug information for the object | 
| Methods inherited from class java.lang.Object | 
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public FormKey(String formName,
               String componentId)
formName - The formNamecomponentId - The componentId| Method Detail | 
public String getFormName()
public String getComponentId()
public String getTitle()
public void setTitle(String title)
title - New value of property title.public Object clone()
public int compareTo(Object obj)
compareTo in interface Comparableobj - the other FormKey object.
public int hashCode()
public boolean equals(Object obj)
obj - the other FormKey object.
public String toString()
public static FormKey getCloseBrowserFormKey()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||