tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Zeigler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TAP5-1125) Upload component should be enhanced to work with Ajax
Date Fri, 07 May 2010 19:28:48 GMT

     [ https://issues.apache.org/jira/browse/TAP5-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Robert Zeigler updated TAP5-1125:

    Issue Type: Improvement  (was: Bug)

> Upload component should be enhanced to work with Ajax
> -----------------------------------------------------
>                 Key: TAP5-1125
>                 URL: https://issues.apache.org/jira/browse/TAP5-1125
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-upload
>    Affects Versions:
>            Reporter: Chuck Kring
>            Priority: Minor
> An upload component in a form contained by a zone doesn't work.
> Howard said:
> We don't yet have Forms and Zones working; XMLHttpRequest doesn't
> automatically handle the necessary MIME multipart/form-data content
> type.  It possible that the Upload need to be handled specially,
> perhaps with a Flash movie.
> Thiago H. de Paula Figueiredo said:
> Independently of Tapestry, AJAX doesn't support file uploads. When you see something
that seems to be a file submission through AJAX, it's implemented by some Flash control ou
using an iframe. Of course, as Howard said, the Upload component could handle this options
> In the example below, remove the t:zone='theform' parameter from the form and the upload
will work.
> <?xml version="1.0" encoding="utf-8"?>
>  <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>  <body>
> <div class="dialog_outer" style="width:700px">
>        <t:zone t:id="theForm"/>
>         <t:form t:zone="theForm">
>            <table><tbody>
>                   <tr>
>                       <td>Upload file</td>
>                      <td><input t:type= "upload" t:id="uploaded"/></td>
>                   </tr>
>                </tbody></table>
>             <t:submit t:id="apply" value="Apply"/>
>       </t:form>
>  </div>
>  </body></html>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message