package gov.nih.nci.nbia.beans.basket;
import gov.nih.nci.nbia.zip.ZipManager;

import com.icesoft.faces.async.render.SessionRenderer;

/**
 * This listens to zip progress and tell ICEfaces to push a change
 * to the UI as progress increases.
 *
 * <p>This object is a result of switching to ICEfaces which
 * broke the old ajax progress bar.
 */
public class ZipManagerProgressManager implements ZipManager.ZipManagerListener {
	public ZipManagerProgressManager(/*BasketBean basketBean*/) {
		//this.basketBean = basketBean;
	}

	public void progressUpdate() {
        // Increase the finished percent, and render the page
       	SessionRenderer.render(ALL);
	}

	public void completed() {
		//let ui set this
        //basketBean.setDownloading(false);
		System.out.println("completed zipping!!!");
        SessionRenderer.render(ALL);
	}


	private static final String ALL = "all";
}

@@ -33,16 +33,18 @@
 asket;%0D%0A
+%0D%0A
 import g
@@ -859,24 +859,30 @@
 er(ALL);
+       
 %0D%0A%09%7D%0D%0A
-%0D%0A
+%09
 %0D%0A%09priva

Change for fixing session ID fixation problem.