|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.scrashmeow.ojb.console.ActionForwardFactory
A set of utilites to create ActionForwards dynamically in an application. These utilities help add additional query string parameters, as well as, clone existing forwards etc.
| Constructor Summary | |
ActionForwardFactory()
|
|
| Method Summary | |
static org.apache.struts.action.ActionForward |
findForward(org.apache.struts.action.ActionForward fw,
boolean redirect)
Find a redirecting forward with the same path as the provided forward |
static org.apache.struts.action.ActionForward |
findForward(org.apache.struts.action.ActionForward fw,
java.util.Map params,
boolean redirect)
. |
static org.apache.struts.action.ActionForward |
findForward(org.apache.struts.action.ActionForward fw,
java.lang.String param1,
java.lang.String value1,
boolean redirect)
Find an action forward with the provided forward's path. |
static org.apache.struts.action.ActionForward |
findForward(java.lang.String path,
boolean redirect)
Find a forward with the given path. |
static org.apache.struts.action.ActionForward |
findForward(java.lang.String path,
java.util.Map params,
boolean redirect)
Find an action forward with the given path. |
static org.apache.struts.action.ActionForward |
findForward(java.lang.String path,
java.lang.String param1,
java.lang.String value1,
boolean redirect)
Find an action forward with the given path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionForwardFactory()
| Method Detail |
public static org.apache.struts.action.ActionForward findForward(java.lang.String path,
java.util.Map params,
boolean redirect)
path - the context relative path to forward toparams - a map of param names and values as stringsredirect - flag that indicates the forward should redirect
public static org.apache.struts.action.ActionForward findForward(java.lang.String path,
boolean redirect)
path - the context relative path to forward toredirect - flag that indicates the forward should redirect
public static org.apache.struts.action.ActionForward findForward(java.lang.String path,
java.lang.String param1,
java.lang.String value1,
boolean redirect)
path - the context relative path to forward toparam1 - a parameter namevalue1 - a value for the parameterredirect - flag that indicates the forward should redirect
public static org.apache.struts.action.ActionForward findForward(org.apache.struts.action.ActionForward fw,
java.util.Map params,
boolean redirect)
fw - the action forward to base this forward onparams - a map of param names and values as stringsredirect - flag that indicates the forward should redirect
public static org.apache.struts.action.ActionForward findForward(org.apache.struts.action.ActionForward fw,
boolean redirect)
fw - the action forward to base this forward onredirect - flag that indicates the forward should redirect
public static org.apache.struts.action.ActionForward findForward(org.apache.struts.action.ActionForward fw,
java.lang.String param1,
java.lang.String value1,
boolean redirect)
fw - the action forward to base this forward onparam1 - a parameter namevalue1 - a value for the parameterredirect - flag that indicates the forward should redirect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||