Focal Point
[SOLVED] Managed Reporting - Frameset issue

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

June 24, 2011, 01:27 PM
Keith MacDonald
[SOLVED] Managed Reporting - Frameset issue
Fairly new to WF/MR.

I've set up a tab (Page) in BID which references an htm file only containing a frameset tag. I've referenced the address for the frames simply by the file names - these htm files are placed in the same folder in MR, are openable from within Dev Studio.

However, it looks like the BID is looking for the frame files in a different directory, even though (in theory) a lack of an explicitly defined path should mean "same directory."

Has anyone done their own frameset from within BID where they're keeping the frame pages within the MR folders rather than referencing an external url?

Frameset tag page:
 <html>

<frameset cols="25%,*">
  <frame src="menu_frame.htm" name="menuframe">
  <frame src="output_frame.htm" name="outputframe">
</frameset>

</html>
 


Error message returned when trying to access
 HTTP Status 404 - /ibi_apps/menu_frame.htm

type Status report

message /ibi_apps/menu_frame.htm

description The requested resource (/ibi_apps/menu_frame.htm) is not available.
Apache Tomcat/5.5.20 

This message has been edited. Last edited by: Keith MacDonald,


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
June 24, 2011, 02:36 PM
Keith MacDonald
As some additional notes...

"Run" from dev studio produces same issue.

http://server:8080/approot/your_path/nnnn.htm works.

Seems to be related to the way WF is serving the pages...


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
June 27, 2011, 09:25 AM
j.gross
quote:
src="menu_frame.htm"


That indicates the htm file is located on the webserver; in dev studio that corresponds to

WebFocus Environmants | servername | Web Applications

Since it's not there, when your browser calls for it the result is a 404 - page not found.
June 27, 2011, 01:33 PM
Keith MacDonald
Noted - although I wasn't able to load pages via a non-explicit reference in that area.

Is the most correct method then to reference http://server:8080/approot/appname/page.htm from the frameset?


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
June 27, 2011, 01:55 PM
Francis Mariani
You should be able to use relative paths by specifying it like this:
../../approot/appname/page.htm



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 27, 2011, 02:50 PM
Francis Mariani
Tested and works.


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 28, 2011, 08:22 AM
Keith MacDonald
Thanks, that helps a lot, actually solves that one. Thanks folks


WebFOCUS & DataMigrator 7.7.03M
Windows 2003, Windows 2008 x64
June 28, 2011, 09:24 AM
Francis Mariani
Good to know. Welcome to WebFOCUS and FocalPoint.


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