Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0704200BC8 for ; Wed, 23 Nov 2016 13:56:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BF139160AFD; Wed, 23 Nov 2016 12:56:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 145C7160AFA for ; Wed, 23 Nov 2016 13:56:36 +0100 (CET) Received: (qmail 55605 invoked by uid 500); 23 Nov 2016 12:56:36 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 55586 invoked by uid 99); 23 Nov 2016 12:56:36 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 12:56:36 +0000 Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id E7D371A0112 for ; Wed, 23 Nov 2016 12:56:35 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id x186so7272594vkd.1 for ; Wed, 23 Nov 2016 04:56:35 -0800 (PST) X-Gm-Message-State: AKaTC03RZAgoUBksATlzOEdTOd4plNQHaTNSvyk07SvM+BD7sBTkADXxPV7o07i4sAml1kHgnF0HlCGgYT6TdQ== X-Received: by 10.31.13.195 with SMTP id 186mr795487vkn.137.1479905794733; Wed, 23 Nov 2016 04:56:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.193.72 with HTTP; Wed, 23 Nov 2016 04:56:14 -0800 (PST) In-Reply-To: References: From: Lukasz Lenart Date: Wed, 23 Nov 2016 13:56:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File To: Struts Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Wed, 23 Nov 2016 12:56:37 -0000 Could someone tag that PR with :+1:? 2016-11-22 20:41 GMT+01:00 Lukasz Lenart : > All is good :) I have refactored the file upload logic a bit, cleaned > up and fixed some issues with wrong message keys. Also I added > dedicated converter to keep support for java.io.File so there is no > need for migration :) > > I've also developed a small GAE plugin which is using the mentioned > changes (that's why build cannot pass as a Struts SNAPSHOT is wrong > ;-)), tested it locally and everything works as expected :D > https://github.com/lukaszlenart/struts2-gea-plugin > > Can you take a look on that PR? > > > Thanks in advance > -- > =C5=81ukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2016-11-22 9:44 GMT+01:00 Lukasz Lenart : >> Done, thanks Aaron :) Now I must test this solution with Google AppEngin= e ;-) >> >> 2016-11-22 7:49 GMT+01:00 Lukasz Lenart : >>> 2016-11-21 20:12 GMT+01:00 Aaron Johnson : >>>> Is it possible to have a converter from UploadedFile to File? The >>>> UploadedFile has a getContent() method that returns the File object. >>> >>> Hm... it would be possible to add a converter, that should work :) >>> >>> >>> Regards >>> -- >>> =C5=81ukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org