Hi 

When I submit the form with ajax button, the progress upload  bar is not 
getting  updated with progress. When I submit the same file with the non ajax 
button , the progress bar gets updated correctly. The file is uploaded 
correctly in both cases. I have configure the  webrequest in the wicket 
aplication as

 */
@Override
protected WebRequest newWebRequest(HttpServletRequest servletRequest)
{
return new UploadWebRequest(servletRequest);
}



I attached the  progrss bar as follows :

  final FileUploadForm ajaxSimpleUploadForm = new 
FileUploadForm("ajax-simpleUpload");
  ajaxSimpleUploadForm.addOrReplace(new UploadProgressBar("progress", 
ajaxSimpleUploadForm));

I am using wicket  1.4.18. This is my form




 --<div wicket:id="formHolder">
 --               <form wicket:id="ajax-simpleUpload">
 --                   <fieldset>
 --                       <legend>Upload form with ajax progress bar</legend>
 --                       <p>
 --                           <label for="upload">File</label>
 --                           <input wicket:id="fileInput" id="upload" 
type="file"/>
 --                           
 --                       </p>
 --                       <input type="submit" value="submit via ajax" 
wicket:id="ajax-button"/>
 --                       <input type="submit" value="upload" /> 
 --                       <span wicket:id="progress">[[ajax upload 
progressbar]]</span>
 --                   </fieldset>
 --                   
 --               </form>


Thanks
badami

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to