isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: Upload file.
Date Fri, 20 May 2016 07:58:36 GMT
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 <dairo.correa@ticxar.com>
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รก D.C., Colombia
> www.ticxar.com
>
>
>   [image: facebook]
> <http://www.facebook.com/pages/Ticxar/446503822192581> [image:
> twitter] <http://twitter.com/ticxar> [image: linkedIn]
> <http://www.linkedin.com/company/ticxar>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message