click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLK-782) form.copyTo does not capture file upload field.
Date Wed, 04 Apr 2012 05:35:19 GMT

    [ 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

        

Mime
View raw message