2009年3月28日星期六

Re: [fw-mvc] form->getValues and file upload

On Sat, Mar 28, 2009 at 1:00 PM, Thomas Weidner <thomas.weidner@gmx.at> wrote:
> Yes, you misunderstood completly.
>
> When you want to "GET" the content of a file element you will of course get
> the file itself which means that it's being uploaded.
>
> When you want to validate a element you should call isValid() and not
> getValues().
> When you have to change the content you should apply file-filters... they
> were build just for this usecase.
> Only when the files are VALID you should call receive() or getValues().


That's how the code I sent earlier is structured, but should I still
run into the problem that I experienced with getValues?

-Ed

没有评论: