Re: Injectable LocaleProvider replaces with LocaleProviderFactory

2017-03-16 Thread Aaron Johnson
Keeping breaking changes in major releases is important. I recently took a project from 2.5.8 to 2.5.10.1 and had several compilation errors. Not a good surprise when attempting to get a security fix in quickly. On Thu, Mar 16, 2017 at 8:35 AM, Lukasz Lenart wrote: >

Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Aaron Johnson
Is it possible to have a converter from UploadedFile to File? The UploadedFile has a getContent() method that returns the File object. On Mon, Nov 21, 2016 at 7:28 AM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > Surly there will be users complaining. We should at least provide a

Re: Upgrading do Servlet API 2.5 and JSP API 2.1

2016-11-18 Thread Aaron Johnson
+1 for Struts 2.6 with Servlet 3.0 and JSP 2.2 On Thu, Nov 17, 2016 at 2:17 AM, Johannes Geppert wrote: > +1 for a 2.6.x based on Servlet 3.0 and JSP 2.2. > > Best Regards > > Johannes > > # > web: http://www.jgeppert.com >

Re: Build failed in Jenkins: Struts-JDK8-master #31

2015-09-22 Thread Aaron Johnson
WW-4402 (https://issues.apache.org/jira/browse/WW-4402) has patch WW-4402.diff ( https://issues.apache.org/jira/secure/attachment/12734928/WW-4402.diff) that makes the annotation processor compliant with JDK8. This is a separate project from the main Struts project. You will have to release a new

Re: Starting work on 2.5

2015-05-26 Thread Aaron Johnson
The best place for big changes is early in the release cycle. I haven't had any runtime issues with JDK7 and Struts. On Tue, May 26, 2015 at 3:51 AM, Christoph Nenning christoph.nenn...@lex-com.net wrote: one more +1 for jdk7 regards, Christoph This Email was scanned by Sophos Anti Virus

Re: Starting work on 2.5

2015-05-15 Thread Aaron Johnson
I would suggest dropping support for the embedded JSP plugin. The ability to serve JSPs (or any classpath resource) from a JAR is a part of the servlet specification since 3.0. On Fri, May 15, 2015 at 8:08 AM, Lukasz Lenart lukaszlen...@apache.org wrote: Finally struts-archive was migrated to

Re: Struts 2.3.18 ready for test

2014-09-23 Thread Aaron Johnson
Have a look at https://github.com/StripesFramework/stripes/blob/master/stripes/src/main/java/net/sourceforge/stripes/tag/HtmlTagSupportBeanInfo.java. This allows the HtmlTagSupport tag to have an attribute named 'class' without interfering with the getClass() method. On Tue, Sep 23, 2014 at 1:35

Re: s:param @value does not accept expressions?

2014-06-18 Thread Aaron Johnson
to be OGNL free in my JSP. There's no reason for me to use OGNL unless I am forced to via interaction with Struts. I do what I can do make sure my JSP usage sticks with the EE standard. Cheers, Paul On Tue, Jun 17, 2014 at 9:55 AM, Aaron Johnson

Re: s:param @value does not accept expressions?

2014-06-17 Thread Aaron Johnson
EL now supports many functions of OGNL. Would it make sense just to replace OGNL with EL? There doesn't seem to be much of a community around updating OGNL. The newer versions of EL have improved support for usage outside of the JSP environment. Is it possible to use EL in the other templates

Re: Docs: Working on Struts main

2013-09-10 Thread Aaron Johnson
I would remove the references to Struts 1 in the main banner paragraph. Tell the user why they want to use Struts, they probably haven't used Struts 1 if they don't know what Struts is. The Apache Struts web framework is a free open-source solution for creating elegant and modern Java web

Re: Doubting OGNL

2013-09-06 Thread Aaron Johnson
When working within JSPs, OGNL feels out of place after using the standard tag libraries and EL for so long. Using OGNL in JSP also limits the use of existing tag libraries that are built using EL without some type of javax.el.ELResolver that can access the ValueStack or the Action for the