Hi, Either I'm doing something wrongg or I've come across a bug when using Alerts; I have created an Alert component called "Confirm" with two buttons, button 1 is "Yes" and button 2 is "No". I seem to be getting an inconsistent response back from the alert at runtime. I have this small block of test PL/SQL...
Here are the response I get when pressing the buttons... Test 1
Test 2
Thanks, Craig. |
Hi Craig, It seems like your are retrieving the alert response in the same event where you are showing it, as in Oracle Forms:
However, the Formspider alert is different from the Forms alert. In Formspider, when an alert is showed, the framework does not wait for the alert response(does not freeze the codeflow). In Formspider, you should get the alert response at the "On Close" event of the alert. You can set an "On Close" event for an alert through its edit dialog. For more information, you can also check the tutorial below: Hope this helps, Hi, Thanks for your response. You are correct, I was checking the response in the same block of code and this was indeed the issue; I changed as per your suggestion and it works perfectly. Thanks, Craig.
(09 May '13, 06:09)
Craig
|