on 05-23-2006 6:39 PM
Hi,
I've this requirement. I want to show intemediate page when the business logic is processing the user request and then show the user the appropriate page once the processing is complete.
Right now the scenario is, after entering all the data, the user presses a button and the logic is taking a little while before the next page is displayed. In this meantime the user is able to press the same button which is causing new request to the application. I want to avoid this? Could someone help me how to achieve this in BSP.
Thanks and Regards,
Kumar
Hi Kumar,
For the button you have attribute called onClientClick which you give a value and handle it as i suggest.
When ever user clicks the button you write the code for disable of button in the onClientClick event.
Regards,
Azaz Ali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azaz,
But I'm too many other buttons as well on my page. I prefer a generic solution, the way SRM behaves whenever an operation happens. Whenever a button is clicked, it shows a new page mentioning that processing is going on and then comes out with the actual page once the processing is done.
Do you know how this can be achieved
Regards,
Kumar
Thomas,
Thanks for your response.
I tried what you mentioned, but I couldn't find any popup window.
<htmlb:form id="viewcart" method="post" action="viewcart.do">
<xhtmlb:protectDoubleSubmit title = 'Processing Request'
text = ' Shopping cart is being ordered'
active = 'True' >
<htmlb:tray id = "tray1"
title = "Requisition"
design = "form"
width = "100%"
isCollapsed = "false" >
<bsp:call url="selectedpr.do" comp_id="prcart">
</bsp:call>
</htmlb:tray>
<br>
<br>
<htmlb:tray id = "tray2"
title = "Requisition Detail"
design = "form"
width = "100%"
isCollapsed = "false" >
<bsp:call url="prdetails.do" comp_id="prdetail">
</bsp:call>
</htmlb:tray>
<p>
</htmlb:form>
Let me know If i need to do something more
Regards,
Kumar
User | Count |
---|---|
86 | |
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.