Re: Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-22 Thread jchappelle
Ahhh. I see what you are saying. I don't have a problem with the user seeing the previous panel and then seeing the download prompt. I think I can get the url for my IRequestHandler from the RequestCycle and then just generate the javascript that goes back to the server and initiates the download.

Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-21 Thread Josh Chappelle
Hi, I have a Wizard that is inside a BreadCrumbPanel. I have implemented a method in the onCancel that goes back to the previous BreadCrumbPanel. This is how it is implemented: ListIBreadCrumbParticipant participants = crumbModel.allBreadCrumbParticipants();

Re: Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-21 Thread Dan Retzlaff
Can you initiate the download *after* your redirect? Otherwise I think you can have your resource set a session variable when the upload is complete, and poll for that with AJAX. Dan On Wed, Mar 21, 2012 at 10:53 AM, Josh Chappelle jchappe...@4redi.comwrote: Hi, I have a Wizard that is

Re: Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-21 Thread jchappelle
When you say Can you initiate the download *after* your redirect? I'm guessing you mean this: ListIBreadCrumbParticipant participants = crumbModel.allBreadCrumbParticipants(); crumbModel.setActive(participants.get(participants.size() - 2));