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 818F92009F3 for ; Fri, 20 May 2016 09:59:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7E906160A0E; Fri, 20 May 2016 07:59:04 +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 C4D7F1609AF for ; Fri, 20 May 2016 09:59:03 +0200 (CEST) Received: (qmail 80051 invoked by uid 500); 20 May 2016 07:59:03 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 80039 invoked by uid 99); 20 May 2016 07:59:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 07:59:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1B88B1804D8 for ; Fri, 20 May 2016 07:59:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_COUK=1.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=haywood-associates-co-uk.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id uz8iYnzfajSQ for ; Fri, 20 May 2016 07:58:58 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id C0BAC5F254 for ; Fri, 20 May 2016 07:58:57 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id k7so11854740lbm.0 for ; Fri, 20 May 2016 00:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=haywood-associates-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Hj8bEiNqKWe3BJ5ICuwYTeFl6ih2QRw2WjCVaLjVf38=; b=1LLLUXWS0g4Aw1KJOF+JaSIiJXWkfN/ZxxHZmmWy8ued8fGA6X0NKN5d1qO1oC4n6e zP8cbL/LJhgSAIvIjvHlL1JhfZyFI66vrXE4GF+SO8Fr9wj2IqIzQNb7ipgqgipYGGze EeX18zJmF2LGbHDYOZrixzeVcdak2CL7tpeKME3GwFr7nLTDSoryev+J1uNa5XdLqJfC 6NL2r5RfNKcNod5nGAtF53fnBRF7DXcfRjECoV2K7pqVWInR9kvfe/ab1PGg+6C7lb7R 6KNR8p0XhJimFp+93bY9/60Y/OGAoIaNJN/hNEMia3aPHLtLoqsJLujkBAOlwTmoTBuD ao9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Hj8bEiNqKWe3BJ5ICuwYTeFl6ih2QRw2WjCVaLjVf38=; b=FAOhZmoxmvaIPJGDq0apovbqKSiaMPsSM2T0Yv/9aEGmAMqksm3SpxmhNWQWFX81ti mtHwuLLKUxaKgyyZ3xCQvaGIDFnBQnA9eAZ1k/7082OmGYbcEJ0EtjN74WrgWSBb90jA D/TOPBzTfa8UqSnRTod2cyDBdEtQeCHCqfwDTxOLL5WhRvu7XNLOwYQnJJ/Hu2s2bHDb YXnxUGFMgFpA9R1P3t3bfVl7Wx+J4mpdrSOAHhS+Hg1ItclDmuolrKX7Os57dRUjDAvo uFaKnS59ev50onmeKm/M2tD++x/++Twp1gfLNEuAD7/2zJz1K87kyq/r2TkIXJE1E8OC iweg== X-Gm-Message-State: AOPr4FUt2S/DaL2r1iKXhoaqTQDYjDo2BFAptpQi0wblC/CqmwoyoaQ4hhj050PsZGmlR96jfs7nU3pazhTUIw== X-Received: by 10.112.201.10 with SMTP id jw10mr577480lbc.25.1463731137040; Fri, 20 May 2016 00:58:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.134.2 with HTTP; Fri, 20 May 2016 00:58:36 -0700 (PDT) X-Originating-IP: [82.69.89.226] In-Reply-To: References: From: Dan Haywood Date: Fri, 20 May 2016 08:58:36 +0100 Message-ID: Subject: Re: Upload file. To: users Content-Type: multipart/alternative; boundary=001a11c371d8786a9105334176fa archived-at: Fri, 20 May 2016 07:59:04 -0000 --001a11c371d8786a9105334176fa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hmm, good questions. There isn't currently any way to indicate or filter the allowing files to upload. I imagine that would be a reasonably straightforward enhancement. You could, probably, use the validateXxx() supporting methods to check the file after it has been uploaded, but that isn't an ideal user experience. Please raise a ticket on JIRA for this feature request, anyway. With respect to uploading multiple files, also not supporting currently, but my question here is: what does this correspond to in the domain object model? The most obvious answer is to invoke an action passing in a collection of objects (being the uploaded files), but currently the framework does not support actions with collections as parameters, so that's a necessary prerequisite. It'll get implemented one of these days, just hasn't made it to the top of the todo list. Once it is implemented, then I think that an enhanced/reworked file uploader component would be the way to go. Again, please raise a ticket for this feature request. With respect to using jasper or similar, you have a couple of options. The easiest by far is just to host the jasper reporting servlets alongside the Isis servlets; that is... /wicket is the root for Isis Wicket viewer, and (say) "/jasper" for your Jasper stuff. You can then use an action that returns a URL as a way of conveniently deep linking from the Isis app to your Jasper stuff. We use something similar in the Estatio system, and it works just fine. Or, you could be more ambitious, and develop an addon (like the isis-wicket-gmap3 or isis-wicket-fullcalendar2 addons) that embeds Jasper reports within the Isis app. If you're interested in doing this, check out the existing code HTH Dan [1] https://github.com/isisaddons/isis-wicket-gmap3 [2] https://github.com/isisaddons/isis-wicket-fullcalendar2 On 19 May 2016 at 18:09, Dairo Correa Ramirez wrote: > Good days, is I have some questions > > How I can validate file extension when uploading? > > How I can upload multiple file? > > Is it possible to use tool to generate reports as jasper? > > > Thanks, > > -- > [image: Logo] > > > Dairo Correa Ramirez > *Junior Development Analyst* > Tel: (57) 1 703 17 77 > Cel: (57) 301 6588966 > E-mail: dairo.correa@ticxar.com > Calle 93 # 19b - 66 Ofc 202 > Bogot=C3=A1 D.C., Colombia > www.ticxar.com > > > [image: facebook] > [image: > twitter] [image: linkedIn] > > --001a11c371d8786a9105334176fa--