Focal Point
[SOLVED] Adding correct DOC TYPE to Dashboard's HTML - REPOSTING

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

May 09, 2013, 05:02 PM
webfocusguru
[SOLVED] Adding correct DOC TYPE to Dashboard's HTML - REPOSTING
Hello,
There was some issue with my original post and so I am reposting again. Please refer to the following post for my original question:
http://forums.informationbuild...1057331/m/4107045036

The solution I came up with:
Edited ibi\WebFOCUS77\webapps\webfocus\worp\jsp\layout\WORP_Layout.jsp file to include the following (just before the TITLE tag):
 
<%
String paramValue = request.getParameter("WORP_MPV");

%>

<% if  ("aa_gbv".equalsIgnoreCase(paramValue) || 
	"ab_gbv".equalsIgnoreCase(paramValue)
       )
{ %>
<!DOCTYPE html>
<HTML>
<HEAD>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<%} 
 else
 {%>
 <HTML>
<HEAD>
<%}%>


In the above code the DOC TYPE I wanted is applied only for aa_gbv and ab_gbv. I understand that when we upgrade/apply hotfixes I might need to add these lines again. Any other disadvantages/thoughts? Thanks!

This message has been edited. Last edited by: webfocusguru,


------------------------------
WebFOCUS 8.2.x, InfoAssist, MRE/Dashboard, ReportCaster, Active Reports, jQuery, Highcharts, FusionCharts
Platform: Windows, AIX
May 13, 2013, 02:28 PM
<Kathryn Henning>
Hi raj_t,

As was mentioned in the first topic, you'll want to make a backup of the
ibi\WebFOCUS77\webapps\webfocus\worp\jsp\layout\WORP_Layout.jsp file since you'll need to manually apply these changes after upgrading. Other than that, there shouldn't be any issues.

Regards,

Kathryn