> > I have a "multipart/form-data" form used to upload a couple
> > of files. This form also has several submit buttons, so
> > using an ActionEvent seems natural here. However, the
> > right eventSubmit_doXXX method is never called, since
> > the button name is not seen until parseRequest() in
> > the upload service has been called, and of course
> > parseRequest() should be called from the doXXX method...
>
> If you use automatic uploading, the ParameterParser will
> parse the request automatically for you. Then your
> event methods will be called, and they will be able
> to pick up FileItems and make some use of them.
What do you mean by "automatic uploading"? All I did was
to setup a form with a button. The action for this button
was copied from samples/actions/UploadFile.java, and ends
up calling TurbineUpload.parseRequest(). The problem is
that if I switch to an ActionEvent (that is, several submit
buttons on the page, each with a different intended action
via a doXXX method), the mapping from button to action will
be defined only AFTER parseRequest() is called, so it seems
there is no way to call the appropriate doXXX method. Or am
I missing the (your) point here?
> Rafal
Thanks,
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]