A B C D E G I J L M N R S T

A

ActionServlet - class net.sf.oness.common.webapp.controller.struts.ActionServlet.
Customized ActionServlet to use CustomMessageResources
ActionServlet() - Constructor for class net.sf.oness.common.webapp.controller.struts.ActionServlet
 
ActionUtils - class net.sf.oness.common.webapp.controller.action.ActionUtils.
Utility class with action common methods.
AuditableToStringConverter - class net.sf.oness.common.webapp.controller.util.AuditableToStringConverter.
Deprecated.  
AuditableToStringConverter() - Constructor for class net.sf.oness.common.webapp.controller.util.AuditableToStringConverter
Deprecated.  
AutoDispatchAction - class net.sf.oness.common.webapp.controller.action.AutoDispatchAction.
An abstract Action that dispatches to a method based in the start of the action path.
AutoDispatchAction() - Constructor for class net.sf.oness.common.webapp.controller.action.AutoDispatchAction
 

B

bundlesLoaded - Variable in class net.sf.oness.common.webapp.controller.struts.CustomMessageResources
hashmap holding the resource bundle for which we have already loaded the values

C

ConvertUtils - class net.sf.oness.common.webapp.controller.util.ConvertUtils.
 
ConvertUtils() - Constructor for class net.sf.oness.common.webapp.controller.util.ConvertUtils
 
CustomMessageResources - class net.sf.oness.common.webapp.controller.struts.CustomMessageResources.
This class is a Custom Message Resource implementation for Struts.
CustomMessageResources(List) - Constructor for class net.sf.oness.common.webapp.controller.struts.CustomMessageResources
Constructor accepting a list of resource bundle files.
contextInitialized(ServletContextEvent) - Method in class net.sf.oness.common.webapp.controller.listener.SpringContextLoaderListener
 
convert(Class, Object) - Method in class net.sf.oness.common.webapp.controller.util.AuditableToStringConverter
Deprecated.  
convert(Class, Object) - Method in class net.sf.oness.common.webapp.controller.util.NonEmptyStringConverter
If the value is an empty String then null is returned, else the call is delegated to the converter specified at creation.
convert(Class, Object) - Method in class net.sf.oness.common.webapp.controller.util.StringArrayToAuditableConverter
Deprecated.  
convert(Class, Object) - Method in class net.sf.oness.common.webapp.controller.util.StringArrayToSetConverter
Deprecated.  
convert(Class, Object) - Method in class net.sf.oness.common.webapp.controller.util.StringToAuditableConverter
Deprecated.  

D

DatabasePopulatorAction - class net.sf.oness.common.webapp.controller.action.DatabasePopulatorAction.
Action that populates the database using the bean called "databasePopulator" in Spring Application Context
DatabasePopulatorAction() - Constructor for class net.sf.oness.common.webapp.controller.action.DatabasePopulatorAction
 
deregister() - Static method in class net.sf.oness.common.webapp.controller.util.NonEmptyStringConverter
Deregister this converter in ConvertUtils and reset old converters.

E

execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class net.sf.oness.common.webapp.controller.action.AutoDispatchAction
Override the execute method in LookupDispatchAction to parse URLs and forward to methods without parameters.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class net.sf.oness.common.webapp.controller.action.DatabasePopulatorAction
 
execute(ComponentContext, HttpServletRequest, HttpServletResponse, ServletContext) - Method in class net.sf.oness.common.webapp.controller.tiles.SwitchLayoutController
 

G

getApplicationContext() - Method in class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
Get Spring ApplicationContext
getBean(String) - Method in class net.sf.oness.common.webapp.controller.action.AutoDispatchAction
Gets a bean from Spring configuration
getBean(String) - Method in class net.sf.oness.common.webapp.controller.action.SpringActionSupport
Gets a bean from Spring configuration
getDynaProperty(ActionForm, String) - Method in class net.sf.oness.common.webapp.controller.action.AutoDispatchAction
Get a property value from a DynaActionForm
getFirstElement(HttpServletRequest) - Static method in class net.sf.oness.common.webapp.controller.action.ActionUtils
Get the first element using displaytag page parameter from the request
getKeyMethodMap() - Method in class net.sf.oness.common.webapp.controller.action.AutoDispatchAction
Provides the mapping from resource key to method name.
getMaxElements(HttpServletRequest) - Static method in class net.sf.oness.common.webapp.controller.action.ActionUtils
Get the max number of elements using MAX_ELEMENTS_ATTRIBUTE_NAME parameter from the request
getMessage(Locale, String) - Method in class net.sf.oness.common.webapp.controller.struts.CustomMessageResources
 
getMockWebApplicationContext() - Method in class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
Get mocked Spring WebApplicationContext

I

initModuleMessageResources(ModuleConfig) - Method in class net.sf.oness.common.webapp.controller.struts.ActionServlet
This is the overridden method to load multiple resource bundle files.
initialize(ApplicationContext, ServletContext) - Method in class net.sf.oness.common.webapp.controller.listener.SpringContextLoaderListener
Template method that can be overriden, if not it will populate the database calling the "databasePopulator" bean execute method, if it exists in the ApplicationContext.

J

JMockStrutsTestCase - class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase.
Base class for Struts testing that mocks Spring ApplicationContext and setups the paths for struts-config.xml file.
JMockStrutsTestCase() - Constructor for class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
 
JMockStrutsTestCase(String) - Constructor for class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
 

L

loadBundle(String, String) - Method in class net.sf.oness.common.webapp.controller.struts.CustomMessageResources
Loads the resource bundle based on the locale.

M

MAX_ELEMENTS_ATTRIBUTE_NAME - Static variable in class net.sf.oness.common.webapp.controller.action.ActionUtils
 

N

NonEmptyStringConverter - class net.sf.oness.common.webapp.controller.util.NonEmptyStringConverter.
Converter that transforms empty strings in a null value and delegates to another converter otherwise.
NonEmptyStringConverter(Converter) - Constructor for class net.sf.oness.common.webapp.controller.util.NonEmptyStringConverter
 
net.sf.oness.common.webapp.controller.action - package net.sf.oness.common.webapp.controller.action
 
net.sf.oness.common.webapp.controller.listener - package net.sf.oness.common.webapp.controller.listener
 
net.sf.oness.common.webapp.controller.struts - package net.sf.oness.common.webapp.controller.struts
 
net.sf.oness.common.webapp.controller.testing - package net.sf.oness.common.webapp.controller.testing
 
net.sf.oness.common.webapp.controller.tiles - package net.sf.oness.common.webapp.controller.tiles
 
net.sf.oness.common.webapp.controller.util - package net.sf.oness.common.webapp.controller.util
 

R

RESULTS_ATTRIBUTE_NAME - Static variable in class net.sf.oness.common.webapp.controller.action.ActionUtils
 
register() - Static method in class net.sf.oness.common.webapp.controller.util.NonEmptyStringConverter
Register this converter in ConvertUtils using previous registered converter as delegated, for the following classes: String
resourceMap - Variable in class net.sf.oness.common.webapp.controller.struts.CustomMessageResources
hashmap for holding ther resource bundle key and value

S

SpringActionSupport - class net.sf.oness.common.webapp.controller.action.SpringActionSupport.
Loads Spring Application Context and exposes its beans
SpringActionSupport(ActionServlet) - Constructor for class net.sf.oness.common.webapp.controller.action.SpringActionSupport
 
SpringContextLoaderListener - class net.sf.oness.common.webapp.controller.listener.SpringContextLoaderListener.
StartupListener that initializes Spring Application Context and application-wide settings.
SpringContextLoaderListener() - Constructor for class net.sf.oness.common.webapp.controller.listener.SpringContextLoaderListener
 
StringArrayToAuditableConverter - class net.sf.oness.common.webapp.controller.util.StringArrayToAuditableConverter.
Deprecated.  
StringArrayToAuditableConverter(Auditable) - Constructor for class net.sf.oness.common.webapp.controller.util.StringArrayToAuditableConverter
Deprecated.  
StringArrayToSetConverter - class net.sf.oness.common.webapp.controller.util.StringArrayToSetConverter.
Deprecated.  
StringArrayToSetConverter() - Constructor for class net.sf.oness.common.webapp.controller.util.StringArrayToSetConverter
Deprecated.  
StringToAuditableConverter - class net.sf.oness.common.webapp.controller.util.StringToAuditableConverter.
Deprecated.  
StringToAuditableConverter(Auditable) - Constructor for class net.sf.oness.common.webapp.controller.util.StringToAuditableConverter
Deprecated.  
SwitchLayoutController - class net.sf.oness.common.webapp.controller.tiles.SwitchLayoutController.
Tiles controller that checks user-agent header in request and overrides tiles definition attributes.
SwitchLayoutController() - Constructor for class net.sf.oness.common.webapp.controller.tiles.SwitchLayoutController
 
setIteratorPageParameters(PaginatedList, String, HttpServletRequest) - Static method in class net.sf.oness.common.webapp.controller.action.ActionUtils
Set the common needed parameters for a page-by-page iterator Sets a PaginatedList (called RESULTS_ATTRIBUTE_NAME by default) and parameters for previous and next links
setIteratorPageParameters(PaginatedList, HttpServletRequest) - Static method in class net.sf.oness.common.webapp.controller.action.ActionUtils
Set the common needed parameters for a page-by-page iterator.
setUp() - Method in class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
 
struts() - Method in class net.sf.oness.common.webapp.controller.testing.JMockStrutsTestCase
Get the servletunit.struts.MockStrutsTestCase of this test case

T

toLong(String[]) - Static method in class net.sf.oness.common.webapp.controller.util.ConvertUtils
Convert a collection of strings in a collection of Long objects

A B C D E G I J L M N R S T

Copyright © 2003-2005 ONess Project. All Rights Reserved.