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     [CLOSED] Upgrading old HTML's

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Upgrading old HTML's
 Login/Join
 
Virtuoso
posted
Has anyone upgraded their HTML's to be compatible with Internet Explorer 11 in Edge-mode? Is there some way to script/automate that?

We have a bunch of old HTML's that were created before we had WF8.1 and a number of newer ones that are in valid HTML5 format.

The latter ones do not work correctly in IE11 if it's in compatibility mode. They have:
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

The old ones rely on IE11 being in compatibility mode (IE=10 works). When we set the portal to IE=Edge, we end up with javascript errors ("Object doesn't support property or method 'evaluate'") due to Microsoft returning a new object type from XML documents (XMLDocument) with an incompatible API...

Experimentally, we found that editting those old HTML's in App Studio helps. Unfortunately, that requires a bit more than just opening and saving, as it changes styling and removes javascript includes.

Hence, we're looking for a way to:

  • Find old-style HTML files
  • Update them automatically, if possible


This seems like something that more people will encounter or already have. Has anyone come up with something a bit smarter than the manual approach?

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
This is one of the problems of relying on a GUI to generate your HTML files - you're stuck with what it outputs. As far as I know, the only way to do what you want is to manually open, change, save... each file. Also, I could be wrong but my guess is that App Studio 8.1.03 does not generate absolutely beautiful HTML 5 code.


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
One work-around might be to add an HTML 5 doctype as the first line (by editing the file via a text editor):

<!DOCTYPE html>
before
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Upgrading old HTML's

Copyright © 1996-2020 Information Builders