Focal Point
[SOLVED] open child window from launch form in MRE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/837100351

June 16, 2009, 05:04 PM
thawby
[SOLVED] open child window from launch form in MRE
We are trying to utilize a popup window from a launch page so that selections can be made from list boxes (in MRE environment). My test is really simple. Parent opens child window with window.open().... Child later updates parent with the opener(). I created a child like "test.html". I can't seem to open this .html as a child in the MRE environment. Any direction will be greatly appreciated!

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
wINDOWS
aLL
June 16, 2009, 05:27 PM
Doug
Is there a particular reason why you are doing this differently then that which is readily available and easily maintainable from within WebFOCUS? The norm would be to use the list / combo boxes for user selections. This is easily available via the HTML Layout Painter. Inquiring minds would like to know. Thanks...
June 16, 2009, 05:38 PM
Francis Mariani
Probably because HTML Layout Painter is too limiting for some people (like me).

The problem probably has to do with the location of the html file and the URL you're using to call that file. I don't think the URL for the pop-up window can address a file in an MRE domain - the file should be located in an Application folder (outside MRE) and the URL should address this file something like this: window.open("/approot/appname/filename.html", "winName",vFeatures);


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 17, 2009, 09:06 AM
thawby
Yes, as to why differently. We have some fairly complex forms that take a lot of screen realestate. We are looking for ways to avoid our users having to scroll in order to complete a form of parameters. We have utilized a wizard approach.

Thanks for the idea Frances Mariani, I will give this a try!


WebFOCUS 7.6.8
wINDOWS
aLL
June 17, 2009, 10:40 AM
Tony A
Also look at using modal forms from your launch pages. By doing this your users will have to make a choice to enable return to the parent form.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
June 17, 2009, 10:51 AM
Francis Mariani
Another idea is to use html div tags and hide/show them in the same html page.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 22, 2009, 11:27 AM
thawby
Another good suggestion. Thanks for the creative ideas. th..


WebFOCUS 7.6.8
wINDOWS
aLL