Re: jdk8 in 2.6

2019-01-13 Thread Aleksandr Mashchenko
@Nathan > We are in the middle of a 2.3 -> 2.5 conversion now, would hate to do it again. Can you elaborate on why it was difficult to migrate (if it was :) )? Have you followed migration guide [1]? It is pretty straightforward. As for the java version I would suggest using java 8, 2.5.x

jdk8 in 2.6

2019-01-11 Thread Aleksandr Mashchenko
We discussed it before but it was quite some time ago. How about upgrading to jdk8 in 2.6 version? - Java versions are now released more frequently - 2.5.x will still be on jdk7 - Currently custom converters must be created to use java 8 date/time classes - Currently date tag is useless with

Re: [VOTE] Struts 2.5.20

2019-01-11 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [x] General Availability (GA) +1 binding --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: I18nInterceptor session creation

2019-01-06 Thread Aleksandr Mashchenko
> I think the basic idea was that, it's not I18Interceptor responsibility to create a session. Technically it is not I18Interceptor who creates session, it is specific implementation of LocaleHandler - SessionLocaleHandler. If someone doesn't like what default LocaleHandler does, then

I18nInterceptor session creation

2019-01-03 Thread Aleksandr Mashchenko
Hello. Can someone shed some light on why I18nInterceptor no longer creates session in SessionLocaleHandler#store method? [1] [2] What was wrong with previous behavior? After all, it is `Storage.SESSION` storage which should operate on session. If someone doesn't want to use session then

Re: Would we need to achieve better place in trends ranking?

2018-12-05 Thread Aleksandr Mashchenko
> @dev wdyt? I thought what about add integration with front-end trends e.g. React, Angular, Vu.js, Node.js? Node.js is not front-end. You can use Struts with js front-ends, all you need is to serve json. Which can be achieved with rest or json plugin. Speaking of which, the json plugin can

Re: [VOTE] Struts 2.5.18

2018-10-08 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Coveralls results

2018-03-21 Thread Aleksandr Mashchenko
Hello, Seems that coveralls shows coverage of the PR-s like it is in the master branch. Can we do something about that? Also it reports that "coverage remained the same" for this build [1], which adds tests for new files. Can someone explain that? [1] https://coveralls.io/builds/16057728

Re: [VOTE] Struts 2.5.16

2018-03-13 Thread Aleksandr Mashchenko
> [ ] Leave at test build > [ ] Alpha > [ ] Beta > [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [VOTE] Struts Maven Archetypes 2.5.14

2018-01-30 Thread Aleksandr Mashchenko
> [ ] Leave at test build > [ ] Alpha > [ ] Beta > [X] General Availability (GA) +1 binding --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [VOTE][FASTTRACK] Struts 2.5.14.1

2017-11-29 Thread Aleksandr Mashchenko
+1 GA, binding --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: [VOTE] Struts 2.5.14

2017-11-20 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Squash PR-s

2017-11-06 Thread Aleksandr Mashchenko
Hi, Right now some PR-s have quit large number of commits. Even PR-s that fix pretty trivial issues tend to grow fast (test fixes, improving stuff that came up in the review, etc.) That makes it harder to pinpoint exact commit that addressed issue at hand. There is a Squash and merge option

Re: Core & plugins

2017-09-22 Thread Aleksandr Mashchenko
> Right but the version will be 2.5.6 (the archetypes live they own > release cycle now) or we can mark them as 3.0 or whatever we think it > should be :) How do we going to communicate this to users? Right now maven-archetypes page [1] says -DarchetypeVersion=. [1]

Re: Core & plugins

2017-09-11 Thread Aleksandr Mashchenko
>> Maybe we should think about the way to release version which will hold only >> the fix. Separate branch for patches or something. > I don't understand what you mean by this. > Can you please explain? Right now most releases which hold security fixes hold new features as well. The point is

Re: Core & plugins

2017-09-08 Thread Aleksandr Mashchenko
Even with BOM it will be a version nightmare. Maybe we should think about the way to release version which will hold only the fix. Separate branch for patches or something. --- Regards, Aleksandr - To unsubscribe, e-mail:

Re: [VOTE][FASTTRACK] Struts 2.3.33

2017-07-12 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [VOTE][FASTTRACK] Struts 2.5.12

2017-07-11 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [VOTE][FASTTRACK] Apache Struts Extras - Multipart parser plugins 1.1

2017-03-22 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [x] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: Injectable LocaleProvider replaces with LocaleProviderFactory

2017-03-17 Thread Aleksandr Mashchenko
> That would be awesome but it's hard if there are just few who test the > latest test build ;-) That being said, I'm going to extend a test > build period and instead of a week give a month for everyone to test > it, hope this allow reduce such problems. Month seems like a long leap from the

Re: [VOTE][FASTTRACK] Struts 2.5.10.1

2017-03-06 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 binding --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: Documentation

2017-02-02 Thread Aleksandr Mashchenko
Maybe this can help: http://www.viaboxx.de/code/confluence2md/ --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: How to select which issue to work on?

2017-02-01 Thread Aleksandr Mashchenko
Hi, > does 'unassigned' mean no one already work on it? Usually, yes. > is it better to solve old reported one or newer ones? Pick the one you can solve. Just make sure that particular issue is still relevant. Looking forward to see PR-s from you. --- Regards, Aleksandr

Re: Documentation

2017-02-01 Thread Aleksandr Mashchenko
+1 Can we export some of the pages from Confluence to MD? --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: Referencing request parameters in struts tags.

2016-11-17 Thread Aleksandr Mashchenko
> but then having a dedicated class doesn't make sense, we cannot > control how those parameters are accessed. I know that there is no > much gain right now but I hope it will improve (as with accessors). Map interface implementation it is, then. --- Regards, Aleksandr

Re: Referencing request parameters in struts tags.

2016-11-16 Thread Aleksandr Mashchenko
>>> I would rather implement Map interface in HttpParameters and keep >>> backward compatibility, wdyt? >> >> Yes, or maybe just convert HttpParameters to Map in Dispatcher. > > It won't work, I mean it will work only for EL expression, i.e.: > ${parameters.contains('error')} but not for OGNL

Re: Upgrading do Servlet API 2.5 and JSP API 2.1

2016-11-16 Thread Aleksandr Mashchenko
Maybe Servlet 3.0 and JSP 2.2. For example: Apache Tomcat implements both in it 7.0.x series, which is available since ~2011. And support for the Apache Tomcat 6.0.x will end on 31 December 2016. --- Regards, Aleksandr - To

Re: Referencing request parameters in struts tags.

2016-11-16 Thread Aleksandr Mashchenko
> I would rather implement Map interface in HttpParameters and keep > backward compatibility, wdyt? Yes, or maybe just convert HttpParameters to Map in Dispatcher. --- Regards, Aleksandr - To unsubscribe, e-mail:

Re: Referencing request parameters in struts tags.

2016-11-14 Thread Aleksandr Mashchenko
Now I've noticed the property accessors. :) We should probably indicate somewhere that now if there is no parameters the "#parameters" is not an empty collection and that "#parameters.contains('error')" must be used instead of "#parameters.containsKey('error')". --- Regards, Aleksandr

Re: Referencing request parameters in struts tags.

2016-11-14 Thread Aleksandr Mashchenko
Just to clarify. From now on the "parameters" on JSP will be HttpParameters instead of a Map, and should be used something like #parameters.get('error').value ? --- Regards, Aleksandr - To unsubscribe, e-mail:

Re: long to s:date

2016-10-29 Thread Aleksandr Mashchenko
Instant is since 1.8, S2 is currently on 1.7. --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

long to s:date

2016-10-29 Thread Aleksandr Mashchenko
Hello, Currently supports java.util.Date and java.util.Calendar. How about adding support for long? It will allow to display timestamps of long type w/o converting them and to do some arithmetics on date on JSP w/o creating intermediate date object. E.g. and Implemented this

Re: [VOTE] Struts 2.3.31

2016-10-13 Thread Aleksandr Mashchenko
> [ ] Leave at test build > [ ] Alpha > [ ] Beta > [X] General Availability (GA) +1 (binding) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Struts 2.3 to 2.5 migration guide

2016-08-31 Thread Aleksandr Mashchenko
Started Struts 2.3 to 2.5 migration guide - https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration Feel free to improve / add additional steps (SMI, DMI, Tiles, etc.). --- Regards, Aleksandr - To

RE: [VOTE] Struts 2.3.30

2016-07-12 Thread Aleksandr Mashchenko
[ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) +1 not binding -- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: Re: Struts 2.5

2016-05-06 Thread Aleksandr Mashchenko
A lot of parenthesis :) Great, thanks! --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Re: Re: Struts 2.5

2016-05-06 Thread Aleksandr Mashchenko
>>2016-05-06 10:19 GMT+02:00 Aleksandr Mashchenko <amashche...@apache.org>: >> Some strange issue here with 2.5. >> >> Required labels are shown on both sides of the label. Seems like both if-s >> in xhtml controlheader-core.ftl evaluate to true. >>

[VOTE] Struts 2.5

2016-05-06 Thread Aleksandr Mashchenko
> Has the s:div tag been removed? Yes, is was left over from ajax theme. --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Struts 2.5

2016-05-06 Thread Aleksandr Mashchenko
Some strange issue here with 2.5. Required labels are shown on both sides of the label. Seems like both if-s in xhtml controlheader-core.ftl evaluate to true. https://github.com/apache/struts/blob/master/core/src/main/resources/template/xhtml/controlheader-core.ftl#L65 and

Re: Struts2PortletTest fails

2016-04-08 Thread Aleksandr Mashchenko
Apparently it is broken by this commit - https://github.com/apache/struts/commit/098ee502b406235755b939c7ef44a8b6cbf9416e. Doesn't work with 2.4 as well. --- Regards, Aleksandr - To unsubscribe, e-mail:

Re: [VOTE] Struts 2.3.26

2016-03-19 Thread Aleksandr Mashchenko
+1 not binding [ ] Leave at test build [ ] Alpha [ ] Beta [X] General Availability (GA) --- Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: Struts 2.5 BETA3

2016-01-05 Thread Aleksandr Mashchenko
+1 for merging tiles PR Regards, Aleksandr - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org