on 11-18-2005 9:41 AM
Hi all out there,
i have created a BSP-Application in MVC-Design-pattern wich shows a large list. There are some function for manipulating the list or recalculating data. Because the response time is some times long i have placed a
<protectdoublesubmit />
on the view. Additionally there is a button to download the tableview-Data to Excel. No the "please-wait" popup comes up and excel starts, but from that point i can not do any input on my Application.
Is there a solution to prevent the "please wait" popup in same cases or to send a repsonse to the browser after opening the excel-file (this is the content of the origanal response created at ON_HANDLE_EVENT)
Thanks for any help.
Kindly regards
André
Hi,
it looks like the <protectdoublesubmit /> element has an attribute active which you can use to deactivate the element when the user wants to get the excel file.
regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
thanks. I tried it bu it does not work.
Here a little peace of code of my view:
... <xhtmlb:protectdoublesubmit active="true" />
... <htmlb:button id="btn1" ....></htmlb:button>
... <htmlb:button id="btn2" ....></htmlb:button>
...
... <xhtmlb:protectdoublesubmit active="false"></xhtmlb:protectdoublesubmit>
... <htmlb:button id="btnDownload" ....></htmlb:button>
the result no is that i can press every button and no "waiting..."-Popup is displayd. It's like before without any .
Regards,
André
Hi,
I think you have the following problem:
1)Display Site (In the html code -> protect = true)
2)User presses download button
3)"Please wait" window appears because the client code has it enabled
this solves your problem:
1)Display Site (In the html code -> protect = true)
2)User presses download button
3)Display site again (In the html code -> protect = false)
4)Right after the site is displayed trigger another request (javascript)
5)Since the first roundtrip deactivated the protect tag no "Please wait" window appears.
But this solution is really ugly and confuses every user.
Did you consider a different approach where the user has to download the excel sheet? Then you could use Thomas extension:/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table
I use this approach and our users are happy with the solution and I have no problems with the "Please wait" window.
regards
Thomas
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.