struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yasserzamani <...@git.apache.org>
Subject [GitHub] struts issue #133: WW-4105 Considers config time class in actions chain
Date Sun, 23 Apr 2017 20:56:25 GMT
Github user yasserzamani commented on the issue:

    https://github.com/apache/struts/pull/133
  
    # Eureka!
    Thank you! I have found it. We can know the config time class of the action without any
new thing with something like following pseudocode:
    ```
    methodName = actionConfig.getMethodName();
    if(null==methodName) methodName=ActionConfig.DEFAULT_METHOD;
    method=action.getClass().getMethod(methodName);
    configClass=method.getDeclaringClass();
    ```
    With this, attribute `bean` is not required 😃 🙌  any more, right? if so, are you
pals agree with the rest of the proposal i.e. considering configClass in parameters and chain
interceptors, jsonresult, `<s:form validate=true` or etc when discovered?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message