Bertrand, I think we discussed the same request here [1] and there were some
good suggestions, but I do not know if there was anything implemented.
Josh, I would also like to see your request be solved in general. However,
for your particular use case (thumbnail generation) there is an OSGi bundle
Hi Josh,
On Tue, Oct 14, 2008 at 10:07 PM, Joshua Oransky <[EMAIL PROTECTED]> wrote:
> ...what I need is a way of processing those files before they are written.
> My use case is that I want users to upload a single large image, and process
> it with an image lib to generate thumbnails, etc. But I
No, what I need is a way of processing those files before they are
written. My use case is that I want users to upload a single large
image, and process it with an image lib to generate thumbnails, etc.
But I don't want to have to write all the code to ALSO persist the
text data, like image
On Tue, Oct 7, 2008 at 8:56 AM, Joshua Oransky <[EMAIL PROTECTED]> wrote:
> ...In fact, if storing files from a
> form was as easy as storing text info, I wouldn't even need this... feature
> request?...
I'm not sure if I understand the problem - if you use a form like
the data is upload
On Tue, Oct 7, 2008 at 8:56 AM, Joshua Oransky <[EMAIL PROTECTED]> wrote:
> Because I want to keep all of my development inside of Sling. Besides, I
> only want to process this on certain resourceTypes; something that is
> already done by the whole Sling framework. In fact, if storing files from a
How about this for the feature request:
The chain will continue if the response is not committed, and the
Sling servlet is allowed to continue processing the POST. But if I
commit the response, the chain breaks, and processing stops.
Does this make sense? Basically, I want an ability to mak
Because I want to keep all of my development inside of Sling. Besides,
I only want to process this on certain resourceTypes; something that
is already done by the whole Sling framework. In fact, if storing
files from a form was as easy as storing text info, I wouldn't even
need this... feat
On Mon, Oct 6, 2008 at 8:27 PM, Joshua Oransky <[EMAIL PROTECTED]> wrote:
> Is this possible? Kind of like the Servlet Filter concept, where I can
> process some of the request than then pass it along.
why don't you just use filtering then? take a look at the
org.apache.sling.sample.filter.ZipFilt
I want to support uploading of files on some of my forms, but I want
to do it in a generic kind of fashion. So what I would like to do is
create a POST script that looks for files, but then passes the request
back to sling to finish updating the properties. This way, I don't
need to have a