You need to sign in to do that
Don't have an account?

apex:commandButton : Open a pop-up after proceeding
Hi community,
I have a button on which I want to open a model popup after processing a business logic. While processing I want to show processing image. On this model pop-up, I want show output of business process.
Please help.
I have a button on which I want to open a model popup after processing a business logic. While processing I want to show processing image. On this model pop-up, I want show output of business process.
Please help.
Below code helps you to show a processing image when button will clicked and after completing the action you can cal a javascript to open window dialog.
If this post helps you and solved you problem then please mark it as solution, ENJOY APEX
Please refer this links will help you..
https://developer.salesforce.com/forums/ForumsMain?id=906F000000097X9IAI
http://www.salesforcegeneral.com/salesforce-modal-dialog-box/
Thank You.
VF Page:
Here is code for controller.
When I call "showPopup" in javascript, it remains false.
Please help.
If you want to get updated value in your javascript then there is two ways.
1) Rerender a part so you will get the value.
2) you can pass the value in function where you calling javascript function.
Below code helps you (second way)
And your script function shuold be
Hope this will helps you please mark it as a solution. ENJOY APEX