Class InjectParamsToActionMethodHandler

  • All Implemented Interfaces:
    com.opensymphony.xwork2.UnknownHandler

    public class InjectParamsToActionMethodHandler
    extends Object
    implements com.opensymphony.xwork2.UnknownHandler
    Gestion du passage de paramètres aux Actions. A ajouter dans le struts.xml : Pour en déclarer plusieurs rechercher "Stacking Unknown Handlers".
    Author:
    npiedeloup
    See Also:
    "http://struts.apache.org/release/2.3.x/docs/unknown-handlers.html"
    • Constructor Detail

      • InjectParamsToActionMethodHandler

        public InjectParamsToActionMethodHandler()
    • Method Detail

      • handleUnknownAction

        public com.opensymphony.xwork2.config.entities.ActionConfig handleUnknownAction​(String namespace,
                                                                                        String actionName)
        Specified by:
        handleUnknownAction in interface com.opensymphony.xwork2.UnknownHandler
      • handleUnknownResult

        public com.opensymphony.xwork2.Result handleUnknownResult​(com.opensymphony.xwork2.ActionContext actionContext,
                                                                  String actionName,
                                                                  com.opensymphony.xwork2.config.entities.ActionConfig actionConfig,
                                                                  String resultCode)
        Specified by:
        handleUnknownResult in interface com.opensymphony.xwork2.UnknownHandler
      • handleUnknownActionMethod

        public Object handleUnknownActionMethod​(Object action,
                                                String methodName)
        Specified by:
        handleUnknownActionMethod in interface com.opensymphony.xwork2.UnknownHandler