Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-10 Thread Volker Weber
Hi, you cant have a tc:link inside a tc:script! tc:script [...] tc:link label= action=#{excelExport.getReport } id=storedReport transition=false

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-10 Thread Vinay Konanki
Hi Michal/Volker, Thanks for your help, At last i got success in this case. But Michal, i don't know for some reason i can't get success with your solution, your help is appreciative. How i did was i used tc:link target=popupWindow label=#{bundle.catalogExport} id=excelId

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-09 Thread Vinay Konanki
Thanks Michal, Modified my jsp and Controller according to your suggestion. its working fine until generating excel stuff and storing in an worksheet (i.e in object). but after that its getting blank screen ('White Screen') Its not triggering the getReport Action. Here is my code: in

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-09 Thread Michał 'Gandalf' Stawicki
Right now I don't see what could be wrong, but: what versions of myfaces and Tobago do you use? I use it with myFaces 1.1.6 and Tobago 1.0.11 Also you should check if doAfterLoadingBrowser is ever called, and check if page:storedReport is a correct id... The white screen would suggest some

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-09 Thread Vinay Konanki
Hi Michal, Some Progress from my side, now blank Screen is not coming (earlier in my exportToExcel() Action at the end i used context.getCurrentInstance().responseComplete(); mistakenly with out writing response back to browser) Now After exportToExcel() Action the current page is loading but

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-08 Thread Michał 'Gandalf' Stawicki
OK, That function afterLoad - I meant pageIsComplete :) here's how i have done it: On the page I have following code: tc:panel width=0 height=0 tc:script function doAfterLoadingReportsBrowserTab() { if (!Tobago.pageIsComplete) {

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-07 Thread Vinay Konanki
Hi Michal, Thanks for your reply, i have couple of doubts in the solution you provided. before that let me explain my case. I have a link which will generate the excel export of all the products, According to my current Code my tc:link will be like this: tc:link label=#{bundle.catalogExport}

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-06 Thread Vinay Konanki
Hi, Could any one help me in this regard... I need to done this module as soon as possible Any help will be appreciated. Thanks, Vinay On 4/5/07, Vinay Konanki [EMAIL PROTECTED] wrote: Hi All, I got success in generating excel sheet, Thanks for your help, but today i found a problem with in

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-06 Thread Volker Weber
Hi Vinay, you should set transition=false on the button which triggering the download to suppress the transition layer. But there is no way to disable the app while the download is in progress, and enabel again afterwards. Regards, Volker 2007/4/7, Vinay Konanki [EMAIL PROTECTED]: Hi,

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-06 Thread Michał 'Gandalf' Stawicki
You can do as follows: use a button with transition - pressing the button would generate your excel stuff and couse some invisible element to render on the page (with a specific ID) to the page, add a java script using Tobago.afterLoad (perhaps it was called some different way, check...) that

[Tobago] Blocked UI while Exporting to Excel

2007-04-05 Thread Vinay Konanki
Hi All, I got success in generating excel sheet, Thanks for your help, but today i found a problem with in exporting the excel. Problem was: When i'm trying to export the results to excel as there are more than 700 elements to generate, it taking around 5-6 seconds to show window which contains