struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: interfaces with default methods on actions
Date Fri, 10 Jun 2016 06:42:38 GMT
2016-06-10 1:04 GMT+02:00 Adam Brin <abrin@digitalantiquity.org>:
> I've been experimenting with Struts 2.5 and trying to simplify our Struts2
> code by using Java8's new interface features with a series of default
> methods with common getters/setters around pagination. But when I test it ,
> the action's setter's aren't called.
>
> According to this page (
> https://struts.apache.org/docs/java-8-support-plugin.html) it seems like
> the only supported java8 feature is:
>
>    -
>
>    Lambda Expressions in actions when using them with the Convention plugin
>
> Are there plans to support other Java8 features in actions or has anyone
> else tried using default methods with success?

It's a case with scanning classes to find actions. And the plugin
should be dropped in Struts 2.5 ;-)

Basically this was resolved in OGNL some time ago
https://github.com/jkuhnert/ognl#release-notes---version-3012

Can you prepare a small demo?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message