www.webdeveloper.com
Results 1 to 2 of 2

Thread: Hour Glass problem!!!! SOS

  1. #1
    Join Date
    Nov 2005
    Posts
    24

    Hour Glass problem!!!! SOS

    Hi All,

    I have a very strange problem. I have a JSP page which on click of a button generates a report in excel format and displays the Open,Save Dialog.

    Functionality wise everything is working fine, but while the report is being generated the browser(IE) doesnot display the HOUR GLASS.

    The customer is complaining that he needs some indication that the report is getting generated( even though the progress bar is showing progress and globe at the top corner is rotating).

    Can anyone please suggest me a way through.


    JSP Code
    --------
    <html:submit value="Finish" onclick="return genReport();"/>

    Java Script function called
    -------------------------
    function genReport()
    {
    lsProduct = document.forms[0].productNumberInput.value;
    lsMcn = document.forms[0].mcnNumberInput.value;
    lsPcn = document.forms[0].pcnNumberInput.value;
    lsCust = document.forms[0].customerNameInput.value;
    lsStatus = document.forms[0].selectedStatusInput.value;

    var confirmDec = true;
    if(lsProduct=='' && lsMcn=='' && lsPcn=='' && lsCust=="" && lsStatus=='All')
    {
    confirmDec = confirm("The search may take some time since no filtering criteria is present. Do you want to continue?");
    }

    if(confirmDec)
    {
    document.forms[0].reportCommand.value='generateReport';
    return true;
    }
    else
    {
    return false;
    }
    }

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    hunmm....did u look into implementing XMLHttpRequest object in your page for such GUI pieces?
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles