I thing turbine process and empty posting data for multi valued submit. So
you need to use this service or disable it

Ender


-----Ozgun Ileti-----
Kimden: Gokul Poduval [mailto:[EMAIL PROTECTED]
Tarih: Monday, July 21, 2003 1:21 PM
Kime: [EMAIL PROTECTED]
Konu: fileUpload


I am trying to make a portlet to perform fileUpload. My .vm file is as
follows -


<form method="post" enctype="multipart/form-data"
action="$jslink.setAction("portlets.FileUpload")">
<table width="40%">
    #fileUploadField ("file")
    <tr align="center">
      <td colspan=2>
      <input type="submit" name="eventSubmit_doUpdate" value="Submit" />
      </td>
    </tr>
</table>
</form>

    However, when when I check the HttpServletRequest, I am getting lot
of headers, but no header with the file information. This is how the
action class looks like.

                HttpServletRequest request = rundata.getRequest();
                DiskFileUpload upload = new DiskFileUpload();
                List items = upload.parseRequest(request);

        But when I check the items list, it turns out to be empty. Any idea on
whats wrong with the velocity template ?

Gokul






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to