Class WelcomeAction
java.lang.Object
org.apache.struts.action.Action
com.softslate.commerce.customer.core.BaseAction
com.softslate.commerce.customer.product.CategoryAction
com.softslate.commerce.customer.core.WelcomeAction
Struts action class that corresponds to the welcome page. Used for requests
to "/Welcome.do".
The execute
method of this class first attempts to load a
content page whose code is '_welcome'. If the content page isn't found, for
backwards compatibility, it forwards the request to the core.welcome forward.
In addition, this class collapses the category tree.
- Author:
- David Tobey
-
Field Summary
Fields inherited from class org.apache.struts.action.Action
servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForward
execute
(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class com.softslate.commerce.customer.product.CategoryAction
defineMetaTags, determinePageName, initializeCategory, loadAttributeOnlySKUs, loadProductsWithAdvancedSearch, saveObjectsInRequestScope, shouldProductsBeLoadedFromDB
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
WelcomeAction
public WelcomeAction()
-
-
Method Details
-
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception - Overrides:
execute
in classCategoryAction
- Throws:
Exception
-