How to control X-UA-Compatible  tag  in page head section?

Hello !
We are developing WebCenter Portal applications using JDeveloper 11.1.1.5.
All our pages are based on ADF.
Currently, we have 2 similar projects (actually – they are two different branches of same source project).
But the have one unexpected difference - when I check html-code of generated pages in one project I see
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=8.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-3kotcg-ltr-ie-8.0.css"> ...
And in another:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=7.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-dkw9cq-ltr-ie-7.0.css">
We have no ideas why one generate content="IE=7.0" and another content="IE=8.0".
We compared all possible configuration files, but have not find any difference.
I've googled, but found only post by Frank Nimphius that is applicable to 11.1.1.4. As far as I understand in that version ADF didn't put meta http-equiv="X-UA-Compatible" in page head section.
The problem is that our pages looks awfully in IE7. And we don’t have to provide IE7 compatibility.
So, my question is - why one project generate content="IE=7.0" and another – 8.0 and how to control it?
Thank you in advance,
Boris

Just to prove this...
IE8 running in INcompatibility mode, User-Agent string from the outbound header (e.g. sniffed using Fiddler):
.......request.......
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
......response.......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=8.0">
And the same IE8 running in normal mode:
.......request.......
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
.......response.......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=7.0">

Similar Messages

  • How to control width an height of a page region

    Hi all.
    How do i control width an height of a page region?. Say you have 4 regions on a page and want to tightly control these attributes, for example as a percentage of page dimension.
    Is that possible?, Also can it be manipulated dynamically?
    Best regards, Luis ....!

    Hi Luis,
    I don't know about dynamically but in the Region Attributes you can add 'style="width:100px" (or whatever value you want 10%, 25% etc.) to control the width
    and to control the height you need to add:
    <div style="overflow: auto; height: 450px;">(again or whatever size)
    to the region header and
    </div>to the region footer
    regards
    barney
    Edited by: barneyonfire on 27-Jan-2012 16:58
    sorry it didn't show the tags before...

  • How to stop to display the main report page header in the subreport!

    Hello all,
    I have an existed report that display the CR page header on every page of the report. Now I added another subreport into report footer without using link. How do I stop to display the main report page header and display the subreport in the new page with subreport header only? I really appreciate your time to help me out on this issue. Thanks.

    Hi,
    I tried to supress the page header with (onlastrecord and TotalpageCount > 1) condition, but the last page of main report without page header. I still like the page header display on last record, but not on the subreport only. How do I get it? Thanks in advance.

  • How can I put an image in the page header so that it will be repeated on every page?

    Hi to everyone!
    I want to create a Pages template with the logo of our company in the page header.
    I'd like to put that image (logo) in the page header so that it will be repeated on every page but it will not modify the content of the page.
    Anyone know how to achive this, or something similar without have to copy-paste that image every time we add a page to the document?
    Thanks in advance

    Takashi,
    Turn off the Page Headers (not absolutely necessary, but since you don't need it, why not)
    Put your Graphic on the page and make the following settings:
    Then Insert > Text Box and make the same settings as for the graphic.
    Place your "Header text" in the text box and arrange the box and graphic as you want them. Move both to Section Master using the Arrange menu.
    Jerry

  • Can contributablelement be used to populate a META tag in the head section?

    We're currently using UCM 10gR4 with SSPU.
    We'd like to use a contribution element to allow contributors to add text that would populate the META tags (Keywords and Description) that reside in the HEAD section for a node.
    In most cases, there is a 1-1 relationship between nodes and Content Items (placeholders).
    I've already built a solution for this using Custom Section Properties, but the preference is to allow the contributor to review/update the meta values with another contributable element. Then, the text entered can be reviewed within workflow and the element is more prominent to the contributor.
    The next best solution would be to use a metadata field to update the meta tags.
    Any suggestions?
    Thanks in Advance,
    Todd M

    bingo!!!!
    Ryan, that was it! The measly little escape characters! Now it's working like a charm, which makes my day!
    Here's the recap of the fragment, if others find it useful.
    Intent: to allow contributors to enter content that would appear in the Meta tags for a particular page. This content will also go through workflow for the appropriate approval, as well as be more prominent for the contributor to actually enter the content!
    Here's the fragment code. "Content" as it appears in the code is the defined placeholder name. MetaKey and MetaDesc are elements added to the Region Definitions (as plain text). The conditionals at the end of the fragment handle the case if these areas are blank.
    Thanks to all for your responses!
    Todd M
    <!--$currentPageNodeId=#active.nodeId-->
    <!--$ContentID=Content-->
    <!--$metaKeyword=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaKey']/text()")-->
    <!--$metaDescription=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaDesc']/text()")-->
    <!--$if not strEquals(metaKeyword,"")-->
    <meta name="KeyWords" content="<!--$metaKeyword-->" />
    <!--$endif-->
    <!--$if not strEquals(metaDescription,"")-->
    <meta name="Description" content="<!--$metaDescription-->" />
    <!--$endif-->

  • How to display user profile information in master page header

    I am trying to display user profile info like following in custom master page.
    I have just added a html code for displaying this info.
    Now, please tell me how could i achieve this
    I am doing this in sharepoint 2013 on-premise.

    see below is example for javascript and userprofile information
    <script type="text/javascript">//<![CDATA[
    $(document).ready(function
    var currentUser;
    // Ensure that the SP.js is loaded
    if (SP.ClientContext
    != null)
    SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser,
    'SP.js');
    else
    SP.SOD.executeFunc('sp.js',
    null, getCurrentUser);
    function getCurrentUser()
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    currentUser = web.get_currentUser();
    context.load(currentUser);
    context.executeQueryAsync(onSuccessMethod, onRequestFail);
    function onSuccessMethod(sender, args)
    var account = currentUser.get_title();
    var currentUserAccount = account.substring(account.indexOf("|")
    + 1);
    var currentUserAccountUnderScore = currentUserAccount.toLowerCase().replace(/\s/g,
    //alert(currentUserAccount);
    $("#username").text(currentUserAccount);
    $("#ProfileImage").attr("src",
    "https://mydomain-my.sharepoint.com/User%20Photos/Profile%20Pictures/"
    + currentUserAccountUnderScore +
    "_mydomain_onmicrosoft_com_MThumb.jpg");
    $("#ProfileImage").attr("alt", currentUserAccount
    + " User Profile Image");
    $("#ProfileImage").attr("class",
    "ss-profile-image");
    //This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args)
    alert('request failed' + args.get_message()
    + '\n' + args.get_stackTrace());
    $("#ProfileImage").attr("src",
    "https://mydomain.sharepoint.com/SiteAssets/userImageDefault.jpg");
    //]]>
    </script>
    -Nilesh

  • How to loop through IFieldObject s in a page or section

    Post Author: jsdude99
    CA Forum: Crystal Reports
    I like to change some attributes of the fields (IFieldObjects) of a report. Can anybody suggest how should I structure my for each loop in VB or C# (or any other format?)
    Thanks

    Post Author: jsdude99
    CA Forum: Crystal Reports
    I like to change some attributes of the fields (IFieldObjects) of a report. Can anybody suggest how should I structure my for each loop in VB or C# (or any other format?)
    Thanks

  • How export a report in Excel where show Page Header in one sheet and the Body in other sheet?

    Hi,
    I need help!, because I need export a report in Excel where the Page Header shows in one sheet and the Body in other sheet. I have SQL 2008 R2, is it possible?
    Thanks a lot for your answers.
    Sukey Nakasima
    Sukey Nakasima

    Hi Sukey,
    If I understand correctly, you hope the Page Header shows in one sheet, the body and hidden page headers in another sheet when exports a report to Excel. To achieve this goal, we can put page header content into a rectangle, then set the visibility of rectangle
    using expressions. For more details, please refer to the following steps:
    1. Add a rectangle to the page header, then drag the page header content into it.
    2. Click the rectangle, in the Properties window, click Visibility, in the Hidden text box, click Expression, type the following expression:
    =IIf(Globals!RenderFormat.Name="EXCEL" and Globals!PageNumber <>1,true,false)
    3. In the Report Body, right click the Table Header row of the first tablix and select Tablix Properties, check Add a page break before check box.
    4. Click the tablix, in the Properties window, click PageBreak, in the Disabled text box, click Expression, type the following expression:
    =IIf(Globals!RenderFormat.Name="EXCEL",TRUE,FALSE)
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • How include an extra image in page header section.

    Hi,
    I need to include a new image in the blue header section of the page. There is already one corporate branding image in that header. The requirement is to include one more image in the middle of the header section.
    Any thoughts please?
    Abdul Wahid

    Thanks keerthi,
    Though I already tested this approach. The problem with this option was that its multi linugual and the two languages are English and Arabic and both are written in opposite direction...but image remains one directional..
    smiling..
    In other thread (https://forums.oracle.com/message/11258546#11258546)I could bring two images in header by adding an image child and setting its css properties in controller. However, I want this controller to be available on all the pages so that it can bring the image on all the pages.Thats why I thought to attach the controller to the footer region. But I think new item inclusion using personalization is not working in standard footer.
    Thanks bro..

  • How to prevent Dreamweaver CC from adding bogus page header when pasting text

    It seems like suddenly with the CC version of Dreamweaver, when you copy-paste content from MS Word, Dreamweaver adds a new bogus page header, like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <HTML>
      <!--                     @page { margin: 0.79in }                     P { margin-bottom: 0.08in }           -->
      <BODY DIR="LTR">
    <p> The pasted text</p>
    Can this behavior be suppressed? I have the same copy/paste settings that I used in CS5- Text and structure with basic formatting. I don't see why this needs to happen.
    I am using Dreamweaver CC on Mac.

    You're injecting  junk formatting code from MS Word into your HTML.  The best way to avoid this is to use Edit > Paste Special > Text only.  Or copy & paste your MS Word content into a plain text editor (Text Wrangler) before you paste it into DW.
    Nancy O.

  • How to increase rowcount on clicking on Interactive page header

    Hi All,
    I have create Interactive report on table which has more than 3 Lakhs records. If click on Document Name it showing only 1000 distinct names.
    Where can I increase these value to sort and see the all values.
    Apex version 3.2
    Thank,
    NR

    Hi,
    For performance reason it will only show first 1000 distinct values when you click on ir report headers, you cannot increase it.
    You can workaround this by going into Actions > Filter
    I suggest to follow this active thread Interactive Report (IR) column heading: filtered items number & flashlight
    Thanks

  • Custom HTML meta tags in head section

    We want to add custom HTML code to our html-type (HTMLHelp,
    FlashHelp, WebHelp) output.
    We know how to add HTML code to the <body> section, by
    selecting from RoboHelp's main top menu "Insert > HTML".
    We also know how to add HTML code to multiple topics at once,
    by adding the HTML code to the header and/or footer or a template,
    and linking the relevant topics to that template.
    We now want to add HTML code (in particular, custom META
    tags) to the <head> section. However, it appears that the
    content of the template header appears in the <body> section.
    Of course, we could run a search-and-replace-all on our
    existing topics, to replace existing HTML code on the <head>
    section with our custom code. But we would need to remember to do
    this each time we add a new topic. It is not a big deal, but this
    does not seem to be a very efficient way of doing this.
    We figure that there must be some type of collection of
    HTML-templates that RoboHelp uses each time a new topic is created,
    to automatically insert some standard HTML code. But, do we have
    easy access to such HTML-templates? Where are they stored?
    Thanks for you help!

    Have you tried working in the "True Code" editor? This seems
    to be all you need to do.
    John

  • Include a New Meta Tag in head section of OBIEE generated HTML

    Hi,
    Is there any xml place holder, that we can modify / add any additional HTML tags to the <HEAD> section of the HTML that OBIEE is going to generate.
    Requirement is to add the following tag in the <HEAD> section.
    <meta http-equiv="X-UA-Compatible" content="IE=8, IE=9, IE=10" />
    Thanks
    Kaushik

    Try in this file
    OFM\Oracle_BI1\bifoundation\web\msgdb\l_en\messages\productmessages.xml
    Search for kmsgProductGeneral
    add it after <HTML> tag
    make sure you use <HEAD> tag and you close them properly for required tags.
    If helps pls mark as correct, else let me know.

  • Pages 5.2.2 - how to add a logo in the page header

    Hi, how can I add a logo in the page header of each page?!
    seems header and footer only supports text and automated page numbering only...
    I need some advise on this one
    thanks

    Add an image to any page in the section, then drag it where you want it to appear on each page.
    Reduce the opacity using the slider in the Style pane of the Format inspector to change the object’s transparency.
    Choose Arrange > Section Masters > Move Object to Section Master (from the Arrange menu at the top of your computer screen).

  • Using javascript in PDF how to identify insatnces of field on all pages

    Hi,
    I am creating a PDF document with report kind strcuture,so that if i have a field in 1 Page (Header section ) then the field will also be there on Page 2 (Header section ) and so on for all pages.
    I am basically creating from a tool.So if i have text field on Page 1 with name 'text1' then on Page 2 it has a name say 'text1_osi21' kind.
    What i need is how to identify or get all the occurences of my desired field on all pages.
    I also tried with getField('text1.0') kind but it wont work since for the second,thrid ... instances of the field its appending a value 'osi#'.
    Also tried using 'rect' properties but we cant gurantee about the position of the desired field to remain same on all pages.
    Please help with any clue
    Thanks & Regards
    nitin

    I can do it with the word  template builderbut not with the layout editor. Is there a way to achieve the same result with the bi layout editor?

Maybe you are looking for

  • How do you display database in Dreamweaver CS6?

    Trouble displaying 'greendata' database in Dreamweaver CS6 I am working on the exercise files for Adobe's Dreamweaver CS6 "Classroom In A Book", CH. 13 'Working with Online Data'. The problem I am facing is that the database provided in the exercise

  • Ipad not recognized on imac

    When I had to reset my IPAD( couldnt remember my password), my iMAC does not recognize my Ipad and unable to sync any music, apps etc. I have tried everything, what is the next step?

  • I can no longer use Autohotkey controls with spotify

    Hello, I use spotify whilst working (read: gaming) and I'd ahte to minise the winodw everytime I want change songs or volume, so I use an autohtokey script I found online - but it doesn't work with this terrible awful updated spotify. I'll just post

  • Connecting an external PC hard drive

    OK, I've searched the archives to see if my question had been answered but could not find an answer. That doesn't mean it hasn't...just that I couldn't find anything. Ok, I have a PC with lots of pictures. I have them on an external HD with a USB and

  • I phone 5 message tone randomly stops working

    Exactly what the subject says.  The message ringtone is working and all of a sudden you get a txt msg and you no longer hear the sound only vibration (my message sound option is set up for ringtone and vibration).  I have to restart the phone to get