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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Title Tag
 Login/Join
 
Member
posted
I am using the -HTMLFORM command to produce the correct HTML output for my fex. Despite the fact that I have properly placed a title tag within the head section of my document, WebFocus refuses to print the title when I call the fex from another page. As such, the title of the window appears as http://whatever/ibi_apps/WFServelt instead of Producer Inquiry.

There are two weird things that happen: 1) when I view the resulting source (after calling the fex from another page) the code will contain the correct HTML except for the title tag. 2) The title tag prints correctly if I run the fex directly and not call it from another page.

Please keep in mind that I have placed my calling (index.htm) page both inside and outside of my current project and neither has worked. I originally thought that there might have been a cross-domain issue or something.

I would greatly appreciate any insight into the situation.


WebFocus 7.6 client: WinXP server: Windows 2003 Server Edition
 
Posts: 15 | Registered: July 03, 2006Report This Post
Expert
posted Hide Post
This program's HTML TITLE tag works when run directly or called from an HTML page.

You mahe a subtle small mistake in the code, for example, do you have a -RUN after the END statement on the TABLE request?

TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"Test"
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $
ENDSTYLE
ON TABLE HOLD AS H1 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>Testing the Title</TITLE>
</HEAD>
<BODY>
!IBI.FIL.H1;
</BODY>
</HTML>
-HTMLFORM END


-- wflover.

This message has been edited. Last edited by: Francis Mariani,


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Are you calling the page into a frame (iframe or frameset)? If so then that will be your problem as the title is set by the parent page not the child and is pure HTML and nothing to do with WebFOCUS.

Can you give us an example of how you are achieving this so that we may understand your problem more.

T (a wf-friend)



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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
you might like this better
<HTML>
<HEAD>
<TITLE>Testing the Title</TITLE>
<style>
defaultStatus="Producer Inquiry"
</style>
</HEAD>
<BODY>
!IBI.FIL.H1;
</BODY>
</HTML>
-HTMLFORM END




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Silver Member
posted Hide Post
I would check to make sure your search path is not finding another fex with that name before finding the one you are running...

I've seen this happen before Wink

Wayne
 
Posts: 35 | Registered: April 20, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders