cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Eventhandler execution while closing Popup

Former Member
0 Kudos

Hi friends,

I created a BSP application in which for a perticular input field I have created a search help button. If I click this button it will display a popup with all possible values to be input. Now when I click insert button on popup with some selected checkboxes i need to close the popup itself automatically and should proceed to OnInputProcessing. H I am able to close the Popup but its not directing to the Eventhandler. Can anybody help me out?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In your page containing the input field with search help:

<htmlb:form>
<% data event_code type string. %>
<bsp:htmlbEvent event_defined="PopupClose" event_code="<%=event_code %>"/>
<s
cript>
 function popupClose(){
  <%=event_code %>;
 }
</s
cript>
...
</htmlb:form>

And in the popup window script that closes the popup:

window.opener.popupClose();
window.close();

Regards,

Tanguy

Answers (0)