All,

    I have implemented testing file upload in WicketTester/FormTester.
for example:

byte[] bytesOfGif = new byte[]{1,2,3,4,5} ;
formTester.upload("myUploadField", bytesOfGif ,  "myImage.gif " );
formTester.submit() ;

the implementation is simple and limited (not support event such as "onUploadStarted"... etc)
If anyone interests this, I could supply a patch for 1.2 branch or truck.

--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Reply via email to