Thanks, I made the changes. I removed UploadForm instead of deprecating it, and I removed the MultiPartRequest ctor you deprecated too. I don't believe in deprecating at this stage of the project now, as we still have a modest user base.

Eelco


Cameron Braid wrote:

Attached is the patch that integrates the multipart upload processing into
the Form class.

This is backwards compatible. Since I left the UploadForm there and
depreciated it.

I also made these changes:

1) FileUploadField supports an IModel, and if provided will update it during
onUpdateModel

2) changed FileUploadField.getFileUpload to get the FileUpload item directly
from the request - this allows you to get the uploaded file from
Form.onSubmit (or wherever) even if the validation has failed  - similar to
how FormComponent.getInput works for the other form components.

3) added HiddenField - a simple subclass of TextField.  This is handy when
you have javascript that updates the form state before submitting.


Cameron



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to