You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (Commented) (JIRA)" <ji...@apache.org> on 2012/04/04 07:35:19 UTC

[jira] [Commented] (CLK-782) form.copyTo does not capture file upload field.

    [ https://issues.apache.org/jira/browse/CLK-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246053#comment-13246053 ] 

Bob Schellink commented on CLK-782:
-----------------------------------

Yep, I don't see any harm in overriding getValueObject and returning the FileItem.
                
> form.copyTo does not capture file upload field.
> -----------------------------------------------
>
>                 Key: CLK-782
>                 URL: https://issues.apache.org/jira/browse/CLK-782
>             Project: Click
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: Tomcat, Fedora, Java 1.7
>            Reporter: Matt Skinner
>            Assignee: Naoki Takezoe
>              Labels: Form
>         Attachments: fileUploadSample.java, fileUploadSample.java
>
>
> When attempting to fetch the FileField via a Map and Form's copyTo method from the form object I am getting null. Getting the field via getField() with the passed FileField name works. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira