Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to add the <noscript> tag in my jsf page?

RagupathiNov 7 2017 — edited Nov 7 2017

Hi ADF Experts,

I'm Using Jdeveloper 11g R2.

Currently I created a jsf page and added the tag inside the tag. After running my page it's generating the html code like below, But I want that marked the bold content should after the

<body class="af_document p_AFMaximized" style="cursor: auto;"> tag.

Anyone please help me, where if I add the <ctrl:page> tag it will generate after the body tag.

<html class="p_AFMaximized" dir="ltr" lang="en-US">

    <body class="af_document p_AFMaximized" style="cursor: auto;">

        <noscript>This page uses JavaScript and requires a JavaScript enabled browser.Your browser is not JavaScript enabled.</noscript>

       <iframe name="afr::PushIframe" id="afr::PushIframe" style="display:none" src="/mainLogin/afr/blank.html"></iframe>

       <input type="hidden" id="oracle.adf.view.faces.RICH_UPDATE">

       <script type="text/javascript"> AdfDhtmlPage.__frameBusting("differentOrigin"); </script>

       <div id="d1" class="">

            <a id="d1::skip" href="#" class="af_document_skip-link" style="display: none;">Skip to main content</a>

                 <ctrl:page xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:html="http://www.w3.org/TR/REC-html40">

                      <ctrl:content>

                           <document>

                                <contents>

                                     <contents>

                                              <html:noscript>This page requires javascript</html:noscript>

                                              <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NHBWFH" height="0" width="0" style="display:none;visibility:hidden"></iframe>

                                     </contents>

                                </contents>

                           </document>

                      </ctrl:content>

                 </ctrl:page>

           </div>

       </input>

  </body>

  <head>

  </head>

</html>

My Actual jsf page code is

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"

        beforePhase="#{pageFlowScope.DashboardBean.LandingLoad}" xmlns:c="http://java.sun.com/jsp/jstl/core"

        xmlns:h="http://java.sun.com/jsf/html">

    <c:set var="ExternalMsgBundle" value="#{adfBundle['com.allianz.portal.view.ExternalMsgBundle']}"/>

    <af:document title="#{msg['AFTER_LOGIN_TITLE']}" id="d1">

        <ctrl:page xmlns="http://xmlns.oracle.com/uix/ui"  xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:html="http://www.w3.org/TR/REC-html40" >

          <ctrl:content>

            <document>

              <contents>

                <body>

                  <contents>

                   <html:noscript>This page requires javascript </html:noscript>

                   <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NHBWFH" height="0" width="0"

                    style="display:none;visibility:hidden"></iframe>                  

                  </contents>

                </body>

              </contents>                         

            </document>

          </ctrl:content>

        </ctrl:page>

<f:facet name="metaContainer"></f:facet>

    </af:document>

</f:view>

Help me, Where I have to place the bold marked code in my jsf page.

***Moderator action (Timo): removed call out to members who have not participated in this thread already. User, don't call out for other members as long as they did not already are active in a thread!***

<body class="af_document p_AFMaximized" style="cursor: auto;">

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2017
Added on Nov 7 2017
0 comments
329 views