| java.lang.Object org.jfox.mvc.ActionSupport
All known Subclasses: org.jfox.petstore.action.CategoryAction, org.jfox.manager.demo.DemoUploadAction, org.jfox.manager.console.WebConsoleAction, org.jfox.petstore.action.CartAction, org.jfox.petstore.action.PageAction, org.jfox.petstore.action.AccountAction, org.jfox.petstore.action.ProductAction, org.jfox.petstore.action.ItemAction, org.jfox.manager.demo.CheckboxAction, org.jfox.manager.demo.NumberGuessAction, org.jfox.petstore.action.OrderAction, org.jfox.manager.demo.CartsAction,
Inner Class :static class FieldValidation | |
GET_METHOD_PREFIX | final public static String GET_METHOD_PREFIX(Code) | | |
PAGE_VIEW_PATH | final public static String PAGE_VIEW_PATH(Code) | | |
POST_METHOD_PREFIX | final public static String POST_METHOD_PREFIX(Code) | | post action prefix, invoked method will be "DOPOST + %ACTION_NAME%"
|
logger | protected Logger logger(Code) | | |
doActionFailed | protected void doActionFailed(ActionContext actionContext)(Code) | | 在 execute 过程ä¸å‡ºçŽ°å¼‚常时,将回调该方法。
该方法å?¯ä»¥å?šä¸€äº›è¡¥å?¿æ€§å·¥ä½œï¼Œæ¯”如:在 buildInvocation 过程ä¸å‡ºçŽ°äº†å¼‚常,
å?¯ä»¥é€šè¿‡å®žçŽ°è¯¥æ–¹æ³•æ?¢å¤?æ•°æ?®ï¼Œä»¥ä¾¿èƒ½å¤Ÿåœ¨ errorViewä¸æ˜¾ç¤ºç”¨æˆ·æ•°æ?®
Parameters: actionContext - invocationContext |
getLogger | public Logger getLogger()(Code) | | |
postAction | protected void postAction(ActionContext actionContext)(Code) | | do something after invocation action method
Parameters: actionContext - invocation context |
postExecute | protected void postExecute(ActionContext actionContext)(Code) | | do something after Execute
Parameters: actionContext - invocation context |
postInject | public void postInject()(Code) | | |
postUnregister | public void postUnregister()(Code) | | |
preAction | protected void preAction(ActionContext actionContext)(Code) | | do something before invoke action method
Parameters: actionContext - invcation context |
preExecute | protected void preExecute(ActionContext actionContext)(Code) | | do something before Execute
Parameters: actionContext - invcation context |
|
|