Hello,

If I understand your approach correctly, then the user would have to
click Upload button again after being redirected MyPage to
ConfirmSavePage, which is not desirable.

I would like to implement the following interaction:

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
3.1 If the user clicks Confirm button then upload form submission is resumed.
3.2 If the user clicks Cancel button then upload form submission is canceled.

What's the best way to implement this interaction? Can I use a request
intercepting page to display the ModalWindow?

Thanks

On Fri, Jun 18, 2010 at 3:42 AM, Kent Tong <k...@cpttm.org.mo> wrote:
> Sorry, there is a bug in the code: You should never keep a FileUpload
> object across requests. So, you need to copy the data into somewhere else.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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

Reply via email to