You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2010/06/19 04:22:52 UTC

Re: Confirmation dialog during file upload

> 1. User clicks Upload button and form submission request is sent to the
> server
> 2. The code on the server detect the file name collision and causes a
> ModalWindow to display

These can be done with an AjaxButton to send the upload request. Then
show the ModalWindow in onSubmit().

> 3.1 If the user clicks Confirm button then upload form submission is
> resumed.

The Confirm button would be another AjaxButton then. Just save the
file in onSubmit(). Of course, make sure you copied the file content
in the first place for use here.




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