cancel
Showing results for 
Search instead for 
Did you mean: 

Popup window problem in ISR JSP form

Former Member
0 Kudos

Hi Guys,

I have some problems with popup windows, could you share your ideas with me, thanks very much!

1. I am doing some JSP forms based on ISR framework, for one scenario, I want to use a popup window as a search help window.

2. Currently, I used the method that is pass project.component to the windowsopen method to show the popup window, like this: window.open('testpropject.popupsearchpos','','width=600,height=400'); But this method seems not work for my case, is there any otherways to show the popup window?

3. I used the above method to show popup window, I want to use that window as a search help, but that popup window can not access ISR data. How can make that popup window access ISR data, I have already set the scenario for that popup JSPDynpage.

Best Regards!

James

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi check this link i dont know much about ISR

Former Member
0 Kudos

Thanks Tulasi!

But your link is about adobe form, not JSP form:(, anyway, thanks all the same!

Answers (1)

Answers (1)

michael_pang4
Active Participant
0 Kudos

Hi James,

The way I did it in the past is using javascripts as you've pointed out.

Treat the ISR JSP form as the parent window.

Within it you declare a input field of type 'hidden'.

In the JSP, you call window.open(.....) and open the child window.

This child window is going to contain your new search help.

In the child window, you can set the parent window's form field.

Once the user selects the value, you pass it back to the parent form.

Check this out:

http://www.rgagnon.com/jsdetails/js-0066.html

Cheers

Michael