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 #118: [WW-4105] OgnlUtil improved in order to only setting prop...
Date Tue, 07 Mar 2017 09:28:33 GMT
Github user yasserzamani commented on the issue:

    https://github.com/apache/struts/pull/118
  
    @lukaszlenart , Yes, surely attribute `bean` is, will be and should be optional. Also
there are no problem with actions which used attribute `class` as a class not a bean name.
But unfortunately, Struts2 uses attribute `class` also for a bean name rather than a separate
attribute which causes not backward compatible of this improvement :(
    
    About Annotations I know they works without any change. For conventions and wildcards
and etc I should see.
    
    Anyway, in case of when action are beans inside user's object factory, we do not have
any way except force user to change config and specify real class , Or add another optional
attribute and add more conditional and not general codes for this improvement.
    
    What is your recommendation in such changes? thanks.


---
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