Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
Framesets
 Login/Join
 
<eck>
posted
Trying to use a FRAMESET. The FRAMESET resides in a FOCEXE that is called from a launch page. First frame is header with pertinent information.

Second frame is FOCEXE where data can be added/updated.

The header is htm format, no problem.
Issue: The second frame with the called FOCEXE displays the FOCUS INCLUDE statements, but the HTML tags (textboxes, radio buttons...) display properly.

So, what's up with using framesets?

Any direction or input would be greatly appreciated.

Thank you,


eck
 
Reply With QuoteReport This Post
<Pietro De Santis>
posted
The contents of frames within a frameset must be HTML files, FOCEXEC's are not valid contents.

What I think you need to do is create a dummy html file with a body onload tag that runs your WebFOCUS FOCEXEC, something like this:

<body onLoad="location='cgi-bin/ibi_cgi/ibiweb.exe?IBIF_ex=FEXNAME';">
 
Reply With QuoteReport This Post
<eck>
posted
Thanks for the response, but my dummy html is not locating the FEX. Here is the dummy code




TESTING

<script>






I have tried different variations of the FEX ratfrmts, but the browser is telling me:

The page cannot be found

Any direction or input would be greatly appreciated.

In advance many thanks,

eck

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
Gold member
posted Hide Post
Why using this dummy page. You can make the URL be the source of your frame:

frameset
frame src='cgi-bin/ibi_cgi/ibiweb.exe?IBIF_ex=app/ratfrmts.fex'
...
/frameset

If the result of ratfrmts.fex is a valid HTML page, this page will be shown in the frame.
This works great in some of our applications.
 
Posts: 54 | Location: Switzerland | Registered: May 13, 2003Reply With QuoteReport This Post
<eck>
posted
Thanks for the input Roland, but the result I am looking for is to run the fex inside the frame, ...unless there is another way to run an fex inside a frame... I am open.

The first frame is a html header. The second frame is an fex that has to run inside the frame.

I have attached the code for the page with the frameset that calls the header html(ok) and the dummy html(not ok). I am trying to get the dummy to run and display the 'app/ratfrmts.fex' in the second frame.
NEW PAGE 1




New Page 1

<script>
function fill()
{
alert("???");
}


frameborder="0" onLoad="fill();">
scrolling="auto"
frameborder="0">




Here is the dummy page (testpage.htm) calling the
ratfrmts.fex




TEST PAGE

<script>






No success on calling the dummy:
The page cannot be found

Both NEW PAGE 1 and dummy are html forms.

Once again, any direction or input is greatly appreciated.

Many, many thanks in advance,


eck

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
<Pietro De Santis>
posted
Try this:




...

The CGI call is coded slightly differently than the way you had. Also, this is only going to work if the URL in the browser is a server based URL, not a file based one. By this I mean it should look like


http://server/apps/demo/launch.html
and not


c:\ibi\apps\demo\launch.html

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
Expert
posted Hide Post
eck, i think its the word '.fex' in your call.
I launch fexes from framesets (selfserv, not mre)all the time;
here's an example of my code (my fex is named invrep10)
[frame name="main"
src="http://grwf01/cgi-bin/ibi_cgi/webapi.
dll?IBIF_ex=invrep10&COMPANY=MYCOMP&UNITS=ON&
DOLLARS=ON&ONHAND=ON&ATSH=ON&ATSL=ON" target="_self"
scrolling="auto" border="0"
style="border-left-width: 1; border-right-width: 1; border-top: 1px ridge #DCE3EE; border-bottom-width: 1">
[/frameset>

This message has been edited. Last edited by: <Mabel>,
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
<WFUser>
posted
The syntax of using app/name.fex is used by Managed Reporting (MRE). If that is the case, your URL is missing several important paramters. You need to specify the domain location (IBIMR_domain), folder (IBIMR_folder), the action to call MRE (IBIMR_action), where the report is located (IBIMR_sub_action), and the fexname in MRE (IBIMR_fex)
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.