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.
I have 4 iframes in one web page. And I am pulling some reports from webfocus into iframe. How can I get the contents of the report to get adjusted with the size of the iframe. Thanks
The IFrames have to be aligned in a way that 2 iframes must be in one row. so i cannot change the size of the iframe as it pushes the other iframe to different row. Is there a property in IFrame that would squeeze the contents so that it would fit the IFrame??
SS, is it width or height you're worried about? Is the user adjusting the iframe? or is the iframe a fixed size and then what's happening to the report? do you have scrollbars on in your iframes? You know there's an alternative to using iframes... let your fex launch into a separate frame: Say your fex makes 4 outputs.. call them MYTAB1, MYTAB2, MYTAB3, MYTAB4 eg: TABLE FILE .. ... ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE END ...repeat 3 times; -RUN
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD>
!IBI.FIL.MYTAB1;
</TD><TD>
!IBI.FIL.MYTAB2;
</TD></TR>
<TR><TD>
!IBI.FIL.MYTAB3;
</TD>
<TD>
!IBI.FIL.MYTAB4;
</TD></TR></TABLE>
-HTMLFORM END
adjust as needed, and you get all 4 bits on one page. There are alot of different configurations you can use, depending on what you need. ..
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
The users don't like the scrollbars. They want to see the full contents of the iframe without scrolling. so that means i need to resize the contents and adjust according to the iframe size. And i cannot resize the iframe bigger as i need 4 iframes in one webpage(2 in one row).
then do it exactly the way i showed you, and you'll avoid iframes, avoid scrollbars, and see the whole table in each of the 4 cells, every time.This message has been edited. Last edited by: susannah,
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I wish this would work for expandable reports! I used this code and got an error:
TABLE FILE CAR
PRINT
SALES
BY COUNTRY
BY MODEL
ON TABLE SET EXPANDABLE ON
ON TABLE NOTOTAL
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
END
-RUN
TABLE FILE CAR
PRINT
SALES
BY COUNTRY
BY MODEL
ON TABLE SET EXPANDABLE ON
ON TABLE NOTOTAL
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
END
-RUN
TABLE FILE CAR
PRINT
SALES
BY COUNTRY
BY MODEL
ON TABLE SET EXPANDABLE ON
ON TABLE NOTOTAL
ON TABLE HOLD AS MYTAB3 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
END
-RUN
TABLE FILE CAR
PRINT
SALES
BY COUNTRY
BY MODEL
ON TABLE SET EXPANDABLE ON
ON TABLE NOTOTAL
ON TABLE HOLD AS MYTAB4 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
END
-RUN
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD>
!IBI.FIL.MYTAB1;
</TD><TD>
<BR></BR>
!IBI.FIL.MYTAB2;
</TD></TR>
<BR></BR>
<TR><TD>
!IBI.FIL.MYTAB3;
</TD><TD>
<BR> </BR>
!IBI.FIL.MYTAB4;
</TD></TR>
<BR></BR>
</TABLE>
-HTMLFORM END
That is likely to be due to the fact that each expandable report is self contained and includes the JS and everything it requires - so no return visit to the server to get anything else. As a consequence there will be an inclusion of JS the controlling JS file for each output and also the HTML tag names and IDs will be reused for each self contained output. You're going to have conflicts.
Use Iframes to avoid this as each Iframe will have inner HTML and act as a child to the parent HTML page therefore each output will act as intended - self contained.
If you want your output fitting your Iframe size then try and use the "zoom" attribute within the Iframe CSS styling. Not sure if it works with browsers such as Firefox etc. but it does with IE.