org.jaffa.components.lookup
Class LookupAction
java.lang.Object
   org.apache.struts.action.Action
org.apache.struts.action.Action
       org.jaffa.presentation.portlet.ActionBase
org.jaffa.presentation.portlet.ActionBase
           org.jaffa.components.finder.FinderAction
org.jaffa.components.finder.FinderAction
               org.jaffa.components.lookup.LookupAction
org.jaffa.components.lookup.LookupAction
- public class LookupAction- extends FinderAction
This is the base class for all LookupComponent Actions. It extends the FinderAction.
- Author:
- GautamJ
 
 
| Fields inherited from class org.apache.struts.action.Action | 
| ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY | 
 
 
 
 
| Methods inherited from class org.jaffa.presentation.portlet.ActionBase | 
| defaultAction, determineCurrentFormKey, do_HistoryNav_Clicked, execute, executeEvent, handleNullFormKey, isTokenValid, isTokenValid, parseFormName, performTokenValidation, processContainerFormKey, resetToken, saveToken | 
 
| Methods inherited from class org.apache.struts.action.Action | 
| execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, perform, perform, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LookupAction
public LookupAction()
do_Close_Clicked
public FormKey do_Close_Clicked()
- Quits the component and closes the browser window.
 This method overrides the 'Close' handler of the base class.
 
- 
- Overrides:
- do_Close_Clickedin class- FinderAction
 
- 
- Returns:
- The FormKey object for the generic lookup jsp.
 
do_Rows_Clicked
public FormKey do_Rows_Clicked(String rowNum)
- Invokes the do_Rows_Select_Clicked() method.
 
- 
- Parameters:
- rowNum- The selected row on the Results screen.
- Returns:
- The FormKey for the generic lookup jsp.
 
do_Rows_Select_Clicked
public FormKey do_Rows_Select_Clicked(String rowNum)
- This will add the 'lookup' attribute on the request stream, with a Map containing the fieldnames (from the targetFields property) and values (from the selectedRow).
 It will then invoke the quit() method on the component.
 Finally it will return a FormKey object for the generic lookup jsp.
 
- 
- Parameters:
- rowNum- The selected row on the Results screen.
- Returns:
- The FormKey for the generic lookup jsp.
 
do_MultiSelect_Clicked
public FormKey do_MultiSelect_Clicked()
- This will generate the MultiSelectLookupEvent object comprising the DTOs for the selected rows.
 It will then invoke the performMultiSelectLookup() method on the component.
 
- 
- Returns:
- The FormKey for the calling screen.
 
Copyright © 2002-2004 JAFFA Project.