Focal Point
Drill down link to create output in two frames

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

February 08, 2008, 12:01 PM
Mark Lin
Drill down link to create output in two frames
I have an html page that was created in Dev Studio html layout painter. It has three frames. The first frame contains a graph. Frames 2 and 3 contain reports. I'd like to have a drilldown link in Report3 (frame3) that updates the output in the other report frame as well as the first frame containing the graph.

Is this possible?

This message has been edited. Last edited by: Mark Lin,
February 08, 2008, 12:07 PM
Mark Lin
Is it as simple as calling a single fex with a TABLE FILE and GRAPH FILE in it pointing to the appropriate frames? I just tried that. Only the report is output in the window. No graph.

This message has been edited. Last edited by: Mark Lin,
February 10, 2008, 06:09 PM
susannah
have your fex target the _parent
and completely replace all 3 frames.
use
-htmlform begin
..and rebuildyour entire frameset here

-htmlform end
You hated that answer , didn'tyou, so try this:

have your link use both an href with a target
AND an onclick with a frame reference.
like this:
<a  href="http://server/ibi_apps/WFServlet?IBIF_ex=fexname&PARM1=VALUE1"  TARGET=framename 
    OnClick="parent.banner.location='http://server/ibi_apps/WFServlet?_ex=fexname2&PARM2=VALUE2'" 
    CLICK HERE </a>

You can add a bunch more locations/value pairs to a single OnClick, just separate them with semicolons




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
February 11, 2008, 02:56 AM
Tony A
If you don't have the knowledge to use Susannah's suggestion then just point your drill down to a JavScript routine that updates the SRC attributes of your frames -

function myfunction(param_to_pass) {
perent.framename1.src="/ibi_apps/WFServlet?IBIAPPS_apps=....etc.&myParam="+param_to_pass;
perent.framename2.src="/ibi_apps/WFServlet?IBIAPPS_apps=....etc.&myParam="+param_to_pass;
}

This way you are re-executing the fexes in both frames with the new param value.

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