|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.apache.struts.action.DynaActionForm com.softslate.commerce.customer.core.BaseDynaForm com.softslate.commerce.customer.product.ProductForm
public class ProductForm
Struts form class that correspondes to the product page. Used for requests to "/Product.do".
The validate
method of this class simply makes sure that a
product code
of non-zero length was submitted.
Alternatively, if a request attribute named "errorProductCode" is set, this class will populate itself with the value of that variable. This is used in cases where an error occurs during cart processing and the failure action is to forward the error to the appropriate product screen.
ProductAction
,
Serialized FormField Summary | |
---|---|
(package private) static org.apache.commons.logging.Log |
log
|
private static long |
serialVersionUID
|
Fields inherited from class org.apache.struts.action.DynaActionForm |
---|
dynaClass, dynaValues |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
ProductForm()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class com.softslate.commerce.customer.core.BaseDynaForm |
---|
getBusinessObjectFactory, getErrors, getFormUtils, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser |
Methods inherited from class org.apache.struts.action.DynaActionForm |
---|
contains, get, get, get, getDynaClass, getDynaProperty, getMap, getString, getStrings, initialize, initialize, isDynaAssignable, remove, reset, reset, set, set, set, toString |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
static org.apache.commons.logging.Log log
Constructor Detail |
---|
public ProductForm()
Method Detail |
---|
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class org.apache.struts.action.ActionForm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |