views:

789

answers:

1

I want to upload a file by ajax in wicket.what should I do. beacuse it Seems that wicket does not support this feather.

+1  A: 

Check out the source code from the Wicket Examples for upload: http://www.wicketstuff.org/wicket13/upload/single. It has examples for both standard and ajax versions.

jridley
it has just ajax progress bar and is not completely ajax
JGC
You are correct, I misinterpreted your question. Currently, it can't be done with the core wicket libraries but has been written up as an issue, https://cwiki.apache.org/jira/browse/WICKET-1315. That issue points to a sample where it has been done with Wicket via an iFrame, http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket.
jridley