Hi,

I use the TDK1.1a9.
I use services.TurbineUploadService.automatic=true

I want to upload a file using multipart/form-data method and
TurbineUploadService. It works fine.
But I also want to havea description of the file. I try to have everything
in the same form but I can't retrieve the "description" parameter with
data.getParameters().getString("description"). In fact it is empty.



This is my template :

<FORM action="/action/UpLoadFile/" method="post"
enctype="multipart/form-data">
<table>
<tr>
 <td>
  Select a file
 </td>
 <td>
           <input name="local_file" type="FILE" >
 </td>
</tr>
<tr>
 <td>
  Description
 </td>
 <td>
       <INPUT name="description" type="text" value="">
 </td>
</tr>
</table>
      <INPUT type="submit" value="Upload File with description">
</form>


Is it possible to retrieve parameters when using multipart/form-data ?
If yes, how ?

Thanks for your time.
Hervé




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to