Query in Code
I have a requirement which requires me to display a Pop Up with the message 'You are now adding a Business Partner' in IC Web Client.
I wrote the code for the Pop Up in the view layout and was successful able to get the Pop Message.
But when the user clicks or the second time the Pop Up does not appear though it is executed.
Can anyone please suggest some way by whch i can get the Pop Up every time when I click the button.
Edited by: Balasubramanian Vijay on Sep 10, 2008 12:17 PM
Jbs Rajesh replied
The code in the event OnInputProcessing is,
Flag = '0'.
when 'Button ID'.
Flag = '1'.
The code in the layout is,
<% if flag ='1'. %>
call pop up box.
<% endif. %>
How the above code will works:
when the user click on Button, action is in the event OnInputProcessing,
Event->id is "button's id", then Flag = '1'.
In the Layout, IF condition is true, then your Pop-up code will execute.
Flag = '1' only when user clicks on Button, in all remaining cases, Flag = '0'.