My page have several tabls all of them are panel cahcing tab   it worked
fine loading only once   , I added a new pancel caching tab   which has a
download link , here clicking on the link i should create a response
stream with byte array  and

here   is the code

        setRedirect(false);
        WebResponse response = (WebResponse) getResponse();
        response.setAttachmentHeader(filename);
        response.setLastModifiedTime(Time.now());
        response.setContentType("application/octet-stream");
        response.write(
                new ByteArrayInputStream(filedata));
        response.close();



immediately after this code is executed the tab reloads the content ,  the
tab has a  listview and its populateItems method is called    is therey any
way i can avoid this ?

Reply via email to