click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naoki Takezoe (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLK-782) form.copyTo does not capture file upload field.
Date Wed, 15 Feb 2012 02:35:59 GMT

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

Naoki Takezoe commented on CLK-782:
-----------------------------------

I think FileField#getValueObject() should return the FileItem and also setValueObject() should
allow to take it.
Then Form#copyTo() and copyFrom() will work for the FileField as the FileItem property.
                
> 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
>              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