You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pieter Degraeuwe (JIRA)" <ji...@apache.org> on 2009/09/21 16:56:16 UTC

[jira] Created: (WICKET-2480) FileUploadField gets empty after submit

FileUploadField gets empty after submit
---------------------------------------

                 Key: WICKET-2480
                 URL: https://issues.apache.org/jira/browse/WICKET-2480
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Pieter Degraeuwe
            Priority: Minor


I have a Form with one FileUploadField .
Submitting the form works perfectly. Only issue is that the file that was selected is cleared after the submit. (It seems to happen in the 'onDetach' method of FileUploadField.

I think thsi is a bug. (I should keep it's value, just like all other fields, no?)


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


[jira] Resolved: (WICKET-2480) FileUploadField gets empty after submit

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2480.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

no, this is a browser security-related limitation. file upload fields are always empty when a page is rendered.

> FileUploadField gets empty after submit
> ---------------------------------------
>
>                 Key: WICKET-2480
>                 URL: https://issues.apache.org/jira/browse/WICKET-2480
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Pieter Degraeuwe
>            Assignee: Igor Vaynberg
>            Priority: Minor
>
> I have a Form with one FileUploadField .
> Submitting the form works perfectly. Only issue is that the file that was selected is cleared after the submit. (It seems to happen in the 'onDetach' method of FileUploadField.
> I think thsi is a bug. (I should keep it's value, just like all other fields, no?)

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