|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.controller.DynamicForwarder
Used for custom dynamic routing. Specify the pageStyle parameter before calling a struts-based controller and the RequestProcessor will pick it up at forward time.
| Constructor Summary | |
protected |
DynamicForwarder()
Do not call directly |
| Method Summary | |
static void |
addConfig(String pageStyle,
HttpServletRequest servletRequest,
org.apache.struts.config.ForwardConfig forwardConfig)
Add's a forward config to the session as defined by 'pageStyle' |
static org.apache.struts.config.ForwardConfig |
redeemConfig(String pageStyle,
HttpServletRequest servletRequest)
Redeem the configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected DynamicForwarder()
| Method Detail |
public static void addConfig(String pageStyle,
HttpServletRequest servletRequest,
org.apache.struts.config.ForwardConfig forwardConfig)
throws ServletException
pageStyle - the key for the forward configservletRequest - the servlet request objectforwardConfig - the actual forward object
ServletException - upon error saving the object to the session.
public static org.apache.struts.config.ForwardConfig redeemConfig(String pageStyle,
HttpServletRequest servletRequest)
throws ServletException
pageStyle - the page style to redeeemservletRequest - the servletRequest object
ServletException - upon error retrieving the object from the session
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||