Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] Drilldown to target iframe in WebFOCUS v8.0.08 opens a new tab

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Drilldown to target iframe in WebFOCUS v8.0.08 opens a new tab
 Login/Join
 
Member
posted
I have an html page with 3 iframes--iframe1, iframe2 and iframe3. The focexec in iframe1 one has a drilldown with target=iframe2. The focexec in iframe2 has a drilldown with target=iframe3.

Despite the target= commands in the drilldowns, they still open in a new browser tab when executed. I have a HT case open (12273533) and using parent.iframe in the target= command was suggested. I tried this but it did not work.

Has anyone experienced this behavior in webFOCUS v8.0.0.8?

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS v8.2.04M
WebFOCUS v8.2.01M
Windows and AIX
iWay SM v5.5SP2 on AIX
 
Posts: 3 | Registered: May 25, 2010Report This Post
Guru
posted Hide Post
Jenny,

When you created the iframes did you just change the name of the iframe or both the name and ID?

HTML Composer usually creates ifrmaes with the name and ID set to "reportX" - where X is a number.

The TARGET of a drilldown is looking for the ID not the name - I've been bitten by this in the past.

Either change the ID (Unique Identifier) or change your TARGET to use the ID. Then it should hopefully work.

You shouldn't need to use "parent"

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Member
posted Hide Post
The name of the frame and the Unique Id are the same. So for iframe1, the name and unique ID is iframe1; same thing for iframe2 and iframe3.


WebFOCUS v8.2.04M
WebFOCUS v8.2.01M
Windows and AIX
iWay SM v5.5SP2 on AIX
 
Posts: 3 | Registered: May 25, 2010Report This Post
Guru
posted Hide Post
Jenny,

Can you try this example based on the CAR file? It assumes that the files are all in baseapp.

HTML Page
<!DOCTYPE html>
<HTML><HEAD>
<META content=IE=Edge http-equiv=X-UA-Compatible>
<META name=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=Generation content="Created in release 8008, Generation 4">
<META name=viewport content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><script type="text/javascript">
//confidential_id=IBI_OptionsScript
var szHtmlAlias="/as8/ibi_apps/ibi_html";var is_mobile="false";var szRunTimeHtmlAlias="runTimeHtmlAlias";var cgipath="cgipath";var ib_composer="ib_composer";var map="ib_composer_map";var grid="ib_composer_grid";var ibiOptions = new Array(cgipath,ib_composer);var nlsScript="/javaassist/nls.js";var glbScript="/javaassist/ibi/html/js/ibigbl.js";var replacePart="<replace>";
var scriptTemplate='<script src="'+replacePart+'" type="text/javascript"><\/script>';if(typeof(szRunTimeHtmlAlias) === 'string' && szRunTimeHtmlAlias.indexOf('/') == 0)szHtmlAlias=szRunTimeHtmlAlias;document.write(scriptTemplate.replace(replacePart, szHtmlAlias + nlsScript));document.write(scriptTemplate.replace(replacePart, szHtmlAlias + glbScript));</script><script type="text/javascript">
//confidential_id=IBI_ibigblloadCss
if(typeof ibigblloadCss === 'function'){ibigblloadCss(null);addIntlTranslatedJS("composertrans.js");}else {alert("JavaScript alias '/as8/ibi_apps/ibi_html'  is not valid.");window.location("about:blank");}</script><TITLE>HtmlPage</TITLE>
<STYLE></STYLE>
 
<SCRIPT type=text/javascript>
//confidential_id=clientEventHandlersJS
 
 
//Begin function window_onload
function window_onload() {
 
 
UpdateData();
 
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
</SCRIPT>
<!--//confidential_id=focus_xmlelement
<rootxmlnode focoption="_FOC_NULL"><html_elements><html_body use_appl_css="no" maptype="0" autofitchildren="no" mobiledocument="no" edaconnectionrequired="true" ibiapp_app="baseapp" ibic_server="EDASERVE" isdataserversarea="1"><html_event eventname="load" eventhandlername="window_onload"/></html_body><html_element bindcontrolid="iframe1" elementtype="2" myviewonautofit="dontyouever" containerdisplayas="child" controltype="7"><link linktype="default"><condition default="1" name="Default" whattodowithcontrol="4"><data_info datatype="0"></data_info></condition></link></html_element><html_element bindcontrolid="iframe2" elementtype="2" myviewonautofit="dontyouever" containerdisplayas="child" controltype="7"><link linktype="default"><condition default="1" name="Default" whattodowithcontrol="4"><data_info datatype="0"></data_info></condition></link></html_element><html_element rtFileName="cgipathsub/ibi_apps/ibi_html/javaassist/ibi/html/composer/themes/nonBindows/IBI-Themes/default_theme.css" type="cssfile"/><html_element rtFileName="cgipathsub/ibi_apps/ibi_html/javaassist/ibi/html/composer/themes/nonBindows/IBI-Themes/ibi.css" bindcontrolid="IBI_THEME_CSS" desc="Information Builders" type="cssfile"/></html_elements><variables></variables><input_controls></input_controls><requests><request requestid="iframe1" sourcetype="typeFex" ibif_ex="car1.fex" ibiapp_app="baseapp" activeType="-1" activereport="0" compoundreport="0"/></requests><other_bound_objects></other_bound_objects><tasks><task id="load" trigger="load"><taskitem id="iframe1" sourcetype="typeFex" targettype="iframe" targetname="iframe1"/></task></tasks><animations></animations></rootxmlnode>
--><script type="text/javascript">
//confidential_id=updateHeadElements
if(typeof updateHeadElements === 'function'){updateHeadElements();}</script></HEAD>
<BODY class=IBI_PageBg><IFRAME style="Z-INDEX: 1; POSITION: absolute; WIDTH: 340px; HEIGHT: 320px; TOP: 50px; LEFT: 20px" id=iframe1 class="IBI_Report-iFrame IBI_rounded_m" title=car1.fex name="iframe1"></IFRAME><IFRAME style="Z-INDEX: 2; POSITION: absolute; WIDTH: 342px; HEIGHT: 322px; TOP: 50px; LEFT: 390px" id=iframe2 class="IBI_Report-iFrame IBI_rounded_m" name="iframe2"></IFRAME></BODY><script type="text/javascript">
//confidential_id=IBI_loader
if(typeof doBeforeLoad === 'function'){doBeforeLoad();}function AdjustChildrenPosition(){
}
</script></HTML>
<!-- cc yptf --> 


CAR1.FEX
TABLE FILE CAR
SUM
     AVE.CAR.BODY.SEATS AS 'AVE,CAR.BODY.SEATS'
BY  LOWEST CAR.ORIGIN.COUNTRY
BY  LOWEST CAR.COMP.CAR
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt.sty,
$
TYPE=DATA,
     COLUMN=N1,
     DRILLMENUITEM='DrillDown 1',
          FOCEXEC=car2.fex( \
     COUNTRY=N1 \
     ),
          TARGET='iframe2',
$
ENDSTYLE
END  


CAR2.FEX
TABLE FILE CAR
PRINT
     CAR.BODY.SEATS
BY  LOWEST CAR.ORIGIN.COUNTRY NOPRINT
BY  LOWEST CAR.COMP.CAR
BY  LOWEST CAR.CARREC.MODEL
WHERE CAR.ORIGIN.COUNTRY EQ '&COUNTRY.COUNTRY:.';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt.sty,
$
ENDSTYLE
END  


Regards

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Member
posted Hide Post
Stu,

I apologize for the delayed response. Unfortunately the HTML you provided does not run for me. I have a case open with IBI Techsupport. While working with the consultant via remote session, we got it going to the frame. I am not sure what I did wrong...maybe the order of how I did things...not sure.

Thank you for your response. If there is a definitive solution, I will post here.


WebFOCUS v8.2.04M
WebFOCUS v8.2.01M
Windows and AIX
iWay SM v5.5SP2 on AIX
 
Posts: 3 | Registered: May 25, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] Drilldown to target iframe in WebFOCUS v8.0.08 opens a new tab

Copyright © 1996-2020 Information Builders