| |
|
| org.jaffa.components.finder.FinderComponent org.jaffa.components.lookup.LookupComponent
All known Subclasses: org.jaffa.presentation.portlet.widgets.tests.LookupComponent,
LookupComponent | abstract public class LookupComponent extends FinderComponent (Code) | | This is the base class for all Lookup components.
It inherits the properties from FinderComponent.
Additionally it has the following properties -
1- targetFields : This will have the target-fields to be set based on the selected values from the Lookup.
It has a convenience method, which should be called by the component's Action class, to forward to the generic lookup jsp.
author: GautamJ |
Field Summary | |
final public static String | LOOKUP_ATTRIBUTE A constant used to pass the selected values to the Http Request stream. |
Method Summary | |
public String | getTargetFields() Getter for property targetFields. | public FormKey | performLookup(HttpServletRequest request, IModelMap selectedRow) This will add the 'lookup' attribute on the request stream, with a Map containing the fieldnames (from the targetFields property) and values (from the input selectedRow).
It will then invoke the quit() method on itself.
Finally it will return a FormKey object for the generic lookup jsp.
Parameters: request - The HTTP request we are processing Parameters: selectedRow - The row that gets selected on the Results screen. | public FormKey | performLookup(HttpServletRequest request, Map selectedRow) This will add the 'lookup' attribute on the request stream, with a Map containing the fieldnames (from the targetFields property) and values (from the input selectedRow).
It will then invoke the quit() method on itself.
Finally it will return a FormKey object for the generic lookup jsp.
Parameters: request - The HTTP request we are processing Parameters: selectedRow - The row that gets selected on the Results screen. | public FormKey | quitLookup(HttpServletRequest request) This will remove the 'lookup' attribute from the request stream. | public void | setTargetFields(String targetFields) Setter for property targetFields. |
LOOKUP_ATTRIBUTE | final public static String LOOKUP_ATTRIBUTE(Code) | | A constant used to pass the selected values to the Http Request stream.
|
getTargetFields | public String getTargetFields()(Code) | | Getter for property targetFields.
Value of property targetFields. |
performLookup | public FormKey performLookup(HttpServletRequest request, IModelMap selectedRow)(Code) | | This will add the 'lookup' attribute on the request stream, with a Map containing the fieldnames (from the targetFields property) and values (from the input selectedRow).
It will then invoke the quit() method on itself.
Finally it will return a FormKey object for the generic lookup jsp.
Parameters: request - The HTTP request we are processing Parameters: selectedRow - The row that gets selected on the Results screen. a FormKey object for the generic lookup jsp. |
performLookup | public FormKey performLookup(HttpServletRequest request, Map selectedRow)(Code) | | This will add the 'lookup' attribute on the request stream, with a Map containing the fieldnames (from the targetFields property) and values (from the input selectedRow).
It will then invoke the quit() method on itself.
Finally it will return a FormKey object for the generic lookup jsp.
Parameters: request - The HTTP request we are processing Parameters: selectedRow - The row that gets selected on the Results screen. a FormKey object for the generic lookup jsp. |
quitLookup | public FormKey quitLookup(HttpServletRequest request)(Code) | | This will remove the 'lookup' attribute from the request stream.
It will then invoke the quit() method on itself.
Finally it will return a FormKey object for the generic lookup jsp, which will close the browser.
Parameters: request - The HTTP request we are processing a FormKey object for the generic lookup jsp. |
setTargetFields | public void setTargetFields(String targetFields)(Code) | | Setter for property targetFields.
Parameters: targetFields - New value of property targetFields. |
|
|
|