Inlineframes

hi, im working whit jdeveloper and i want to show some reports inside an inlineframe, but i need some links to call the reports.
im trying to do this:
this is my inline frame
<af:panelGroupLayout layout="scroll" id="pgl1">
<af:inlineFrame
inlineStyle="width:700px; height:300.0px;"
id="ifl"/>
</af:panelGroupLayout>
im testing whit golink to do this but not working, this open a new tab in browser , and i need this report inside my inlineframe
<af:goLink text="report1" id="glr1"
destination="/report1.jsp"
targetFrame="ifl"/>
is there anoher way to do this or what should i do??
thank you for your help.
Steve

thank you for replay shay
but what i need is when i click link report1, this appears inside the inlineframe
and if i click report2 ... etc
for example my jsp need to look like this:
report1 inlineframe->show reports
report2
report3
Edited by: Steve on 14/07/2010 10:40 AM
Edited by: Steve on 14/07/2010 10:41 AM

Similar Messages

  • Oracle-ADF inlineFrame initializing view scoped bean twice

    I am facing strange issue related with af:inlineFrame component. Trying to display/render ADF page inside of af:popup within af:inlineFrame component. The weird thing is when the popup displayed; view scoped bean's @PostConstruct method called twice. That means bean is initialized twice. However it needed to be initialized once since bean is referenced from the page that is going to be displayed inside af:inlineFrame.
    Correct flow gotta be:
    Click to button openPopup() method called.
    openPopup() sets URI then opens popup.
    inlineFrame source property set as it's going to display framePage.jspx.
    JSF scans framePage.jspx code finds out there is a reference to FrameBean inside af:outputLabel
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    What happens in my case:
    Click to button openPopup() method called.
    openPopup() sets URI opens popup.
    inlineFrame source property set as it's going to display framePage.jspx.
    JSF scans framePage.jspx code finds out there is a reference to FrameBean inside af:outputLabel
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    Popup located like:
    <af:popup id="mainPopup" binding="#{mainBean.mainPopup}">
    <af:dialog id="mainDialog">
      <af:inlineFrame source="#{mainBean.URI}"> </af:inlineFrame>
      </af:dialog>
    </af:popup>
    Showing popup via af:button action="#{mainBean.openPopup}":
    public void openPopup() {
    this.setURI("http://localhost:7001/app/framePage.jspx");
      RichPopup.PopupHints hints = new RichPopup.PopupHints();
    this.getMainPopup().show(hints);
    framePage.jspx:
    <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <jsp:directive.page contentType="text/html;charset=UTF-8" />
    <f:view>
    <af:document title="Frame Demo" id="demoDocument">
      <af:form id="demoForm">
    <af:outputLabel value="#{frameBean.commonId}">   </af:outputLabel>
      </af:form>
      </af:document>
    </f:view>
    </jsp:root>
    FrameBean:
    @ManagedBean
    @ViewScoped
    public class FrameBean {
    private String commonId;
      @PostConstruct
      public void afterInit() {  } 
      public String getCommonId() {
    return commonId;
    public void setCommonId(String commonId) {
    this.commonId = commonId;
    Making FrameBean @SessionScoped solves this issue since bean is kept with session but I don't want to keep it within session. Also setting source property of af:inlineFrame in jspx as hardcoded not fixing the problem.

    im using ADF Essential on Glassfish 3.1 with no problem, but glassfish is heavyweight. I think Oracle ADF is not dependent to Application Server , then i tried to use my project with Tomcat 7. I deployed my application on Tomcat 7 , but im getting some exceptions.
    Not all application servers support Oracle ADF.
    Refer the certification matrix, Tomcat 7 is not listed as being supported.
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html

  • Is it possible to use af:inlineframe component in JDeveloper 10.1.3.3.0 ?

    Hi,
    I need a requirement to use <af:inlineframe> component to show pdf as some portion of the entire jsf page.
    My Jdeveloper version is 10.1.3.3.0. This component is not loading when i try to include it..
    Can anyone suggest me to use this component in the current version of Jdeveloper?
    Is there any jar to include to get it (or) any patch to update to get this component..?
    Or is there any other component to achieve the above requirement with current version of jdeveloper?
    Any help is great appreciable..
    Thanks in adavance..
    Regards,
    Suresh Ketireddy

    Hi KUBA,
    Thanks for giving an idea to achieve this...
    But how can i specify the pdf to be loaded into the current page using this element...any idea?
    Thanks in advance.
    Suresh K

  • InlineFrame are not working in IE

    Hi All,
    On Documents tab we have links which open a PDF file from a folder and displays in inlineFrame.
    The inlineFrame is calling a servlet which is returning PDF contents. PDF displays fine in chrome & FF, but on IE we are having issues, instead of PDF it is displaying current jsf page in the inlineFrame.
    Thanks in advance
    Regards
    Vidya

    No, that's not what it means at all. If you use Adobe code you will have
    problems. If you learn to write the code yourself, you will not have
    problems.
    As for IE9, it will support media queries unless you have dumped it into
    Compatibility View. To prevent that, follow the directions in this forum
    post:
    http://www.pviiforums.com/topic.php?id=9
    "Does that mean that anyone in older versions of any browser can't view
    just the desktop version?"
    That does not make sense. Old browsers will see the default desktop
    version. Outside of old IE versions, old browsers would be statistically
    irrelevant. For old versions of IE, depending on your default layout,
    you could simply write a conditional comment to serve it a fixed-width
    version.
    I'm not trying to sell you anything, but look at this page in modern
    browsers, and then in older browsers:
    http://www.projectseven.com/products/templates/pagepacks/dmm/affinity/affinity-themes/boar droom/layout-3-01.htm
    Al Sparber - PVII

  • How to pass parameter to my jsp apge included in adf inlineframe

    Hi,
    I would like to know how could i pass parameter to my adf inileframe src.
    Because when i try to do this
    <af:inlineFrame id="if1" source="/frontBackOffice/Scanning.jsp?param0=#{....}&param1=#{....}" />
    I have a error
    ADF_FACES-30179:Pour plus d''informations, consultez le journal d''erreur du serveur à une entrée commençant par : l''élément UIViewRoot est NULL. Exception fatale lors de PhaseId : RESTORE_VIEW 1
    Could you help me please

    you map the source to a backingbean.. and in the bean you just manipulate the parameters..
    chk this link for an idea - search for af:inlineframe
    http://biemond.blogspot.com/2009/02/facebook-adf-task-flow.html
    <af:inlineFrame source="#{FaceBook.facebookLoginUrl}" 
                         inlineStyle="width:99%; height:99%;" 
                         shortDesc="Loginpage"/> 
    in the bean do this
    private String facebookLoginUrl;
    public String getFacebookLoginUrl() { 
          if (sessionID==null){ 
            try { 
                  client = new FacebookJaxbRestClient(APIKEY, SECRET); 
                  token = client.auth_createToken(); 
                  facebookLoginUrl= "http://api.new.facebook.com/login.php?api_key=" + APIKEY + "&v=1.0&auth_token=" + token; 
             } catch (FacebookException ex) { 
              ex.printStackTrace(); 
          return facebookLoginUrl; 
      }

  • Use of inlineframe to show a file under a directory in current WLS

    Hi,
    JDeveloper: 11.1.1.5.0
    WLS: 10.3
    My application creates PDFs in runtime under some directory of my "Managed Server" where the application runs. I need to show the generated pdf file in my application page.
    I am storing the location of the generated pdf in my pageFlowScope variable. In subsequent pages, I am trying to show the generated pdf thru inlineframe as:
    <af:inlineFrame id="if1"
    source="#{pageFlowScope.ContractLocation}"/>
    I am not able to see the pdf file getting displayed in my page. I am building the file path as below:
    System.getProperty("user.dir") + File.separator + "out" + File.separator + "Contract_1.pdf";
    Please suggest if my approach to show a file using af:inlineFrame is proper? And how to display the file which is somewhere under the current server running the application.
    Thanks
    Rathnam

    If your app knows the position of the file you just need to change the doGet method in the servlet. In this method you pass the path to the file, open a stream to the file and copy the file stream to the response stream. In this case you don't need the application module, as the parameter give you all needed information. In the end you should have something like
                // get path to file
                String filePath = request.getParameter("filepath");
                // Set the content-type. Only images are taken into account
                response.setContentType(mimeType + "; charset=utf8");
                File f= new File (filepath);
                FileInputStream lFileInputStream = FileUtils.openInputStream(f);
                ServletOutputStream lOutputStream = response.getOutputStream();
                IOUtils.copy(lFileInputStream, lOutputStream);
                lFileInputStream.close();
                lOutputStream.flush();Timo

  • Problem when using inlineFrame to include external web page.

    I built a ADF web application which include some external web pages.
    I use the ADF components: panelTabbed + showDetailItem + inlineFrame.
    Each tab is point to a external web page. see my code belows:
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="showDetailItem 1" id="sdi1"
    disclosureListener="#{myBackingBean.disclosureListener}">
    <af:inlineFrame source="http://www.baidu.com" id="ilf1" shortDesc="4444444444"/>
    </af:showDetailItem>
    <af:showDetailItem text="showDetailItem 2" id="sdi2">
    <af:inlineFrame id="if1" source="query_refresh_by_poll_2.jsf"/>
    </af:showDetailItem>
    <af:showDetailItem text="showDetailItem 3" id="sdi3">
    <af:inputText label="Label 1" id="it1"/>
    </af:showDetailItem>
    <af:showDetailItem text="showDetailItem 3" id="sdi4">
    <af:inlineFrame id="if2" source="untitled2.jsf"/>
    </af:showDetailItem>
    </af:panelTabbed>
    It almost done except one thing: When I switched the tab back and forth, the input parameter in the previous tab will be lost.
    It seems af:inlineFrame always reload the page and clear every input by user !
    How to preserve the user input when switched the tab back and forth?
    Thanks.

    Hi Frank, thanks for you reply.
    Let me explain my case again to make sure you know what I want to do.
    because I do think it is a usual requirment, I want you give me a clear answer about it.
    In my ADF web App, I have 3 pages: main.jsf,untitled1.jsf,untitled2.jsf
    main.jsf content:
    <af:form id="f1">
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="showDetailItem 1" id="sdi1">
    <af:inlineFrame id="if1" source="untitled1.jsf"/>
    </af:showDetailItem>
    <af:showDetailItem text="showDetailItem 2" id="sdi2">
    <af:inlineFrame id="if2" source="untitled2.jsf"/>
    </af:showDetailItem>
    </af:panelTabbed>
    </af:form>
    untitled1.jsf content:
    <af:inputText label="Label 1" id="it1"/>
    untitled2.jsf content:
    <af:inputText label="Label 1" id="it1"/>
    Run main.jsf, in tab1, fill someting in the inputText, then click tab2, then click tab1 back, the input text that I just entered was cleared.
    I want to keep the user input when switch between the tabs.
    Is it possible in ADF?

  • Problem on af:inlineFrame.

    Hi All..
    The following code is for yours reference.
    <af:panelStretchLayout id="pgHelp"
    dimensionsFrom="auto"
    startWidth="0px"
    endWidth="0px" topHeight="0px"
    bottomHeight="0px">
    <f:facet name="center">
    <af:panelStretchLayout
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="RENGASCROLL" startWidth="0px"
    endWidth="0px" topHeight="0px"
    bottomHeight="0px" styleClass="AFStretchWidth"
    dimensionsFrom="children">
    <f:facet name="center">
    <af:inlineFrame source="#{viewScope.helpURL}" id="jsffILFrame"
    inlineStyle="border-color:Navy;border-width:thin;border-style:solid;"
    shortDesc="Help"
    styleClass="inlinestlye"
    sizing="none"/>
    </f:facet>
    </af:panelStretchLayout>
    Now i have to applied html page at run time through inlineframe(source="#{viewScope.helpURL}).But it's not stretching.
    Any guidence ..
    Thakns,
    Rengasamy.A

    Remove the dimensionsFrom="children" property for the panel Stretch Layout:
    <af:panelStretchLayout xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="RENGASCROLL" startWidth="0px" endWidth="0px"
    topHeight="0px" bottomHeight="0px"
    styleClass="AFStretchWidth">
    <f:facet name="center">
    <af:inlineFrame source="http://www.google.com" id="jsffILFrame"
    inlineStyle="border-color:Navy;border-width:thin;border-style:solid;"
    shortDesc="Help" styleClass="inlinestlye"
    sizing="none"/>
    </f:facet>
    </af:panelStretchLayout>
    Thanks,
    Navaneeth

  • Navigation with inLineFrame component

    i used inLineFrame component in one page.
    i am able to navigate from one page to another with in the frame.
    But i want to come out after some navigation and display the full page in a new window.
    Thanks in advance
    prapansol
    Message was edited by:
    Prapan Sol

    Thank you for help, but I found that It is not checked. Also, I tried to override the standard logic that is named "perform navigation for selected action item" and in the same time create new logic without any result.

  • Scroll down af:inlineFrame

    Hello.
    Could someone please help me to scroll an inlineFrame a little down?
    Seems like this thing should work but nothing happens.
    My ADF application is on subdomain of the frame source.
    I.e. application: my.domain.com/app/faces/index
    frame source: domain.com/info
    <af:resource type="javascript">
                          function loadHandler(event) {
                              var myIframe = event.getNativeEventTarget();
                              //alert(myIframe); // HTMLIFrame
                              myIframe.contentWindow.scrollTo(0,200); // doesn't work
                        </af:resource>
                        <af:inlineFrame source="...">
                            <af:clientListener type="inlineFrameLoad" method="loadHandler"/>
                        </af:inlineFrame>

    Yeah, there is an error.
    Blocked a frame with origin "https://my.domain.com" from accessing a frame with origin "http://domain.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
    That's right, my application server is on https and main site is on http... sad but true.
    Any options left for me?

  • Carousel not honoring image size and inlineFrame target issue

    I have questions related to slideshow or carousel in the following:
    •     “af:inlineFrame”: in the html, it has a “”, looks like it doesn’t work in ADF. Do you have any work around or is this a limitation?
    •     “af:carousel”: this component doesn’t honor “<af:image>” dimension and it truncates image into a small square shape. I tried everything I can think of. Do you know if this is a limitation? If so, is there a good solution for this?
    For all the cases above, I want to click on the image link and the system redirects to me to a page associated with the image. Usecase is announcements that's animated in a slideshow or carousel.
    If you have any suggestions I appreciate the help.
    Thanks,
    Dara

    Dara,
    Can you try surrounding af:image with af:goLink / af:commandLink and set the inline style of it to inherit?
    Something like
                                    <af:carousel id="c1"  var="item">
                                        <f:facet name="nodeStamp">
                                            <af:carouselItem id="ci1" inlineStyle="background-color:inherit;"
                                                             styleClass="AFStretchWidth">
                                                <af:commandLink id="l1">
                                                    <af:image id="i2" inlineStyle="height:inherit; width:inherit;"
                                                              styleClass="AFStretchWidth"/>
                                                </af:commandLink>
                                            </af:carouselItem>
                                        </f:facet>
                                    </af:carousel>-Arun

  • Af:inlineFrame and ADF 12.1.3 on IE 8  throws javascript warning "Stack overflow at line: 0"

    ADF 12.1.3 and IE 8.
    On any page having  <af:inlineFrame> IE8 shows a popup warning "Stack overflow at line: 0" on each page load.
    It very easy to reproduce creating two pages, adding to the first page  <af:inlineFrame id="if1" source="secondpagejsf"/>
    I see that IE 8  Oracle JDeveloper and ADF 12c (12.1.3) Supported Systems is not supported any more but there are so many XP with IE still alive on our customers base.
    Have anyone found a workaround for the above problem ?
    Yiannis

    Hi Yiannis,
    There is some issue with compatibity of inlineFrame and IE8.
    Not sure this can help but try to relate with this solution : http://sanjeev-technology.blogspot.in/2014/11/adf-login-page-keeps-on-coming-back-in.html
    Regards,
    KP

  • Inlineframe to load an applet, which is external link

    Hi,
    I am using jdev 11.1.1.6.0.
    We are facing a challenge, when we try to load an applet in popup(dialog) with inlineframe used, its opening as new window as it has a redirection for login,
    could you suggest me if we can have the login also included in the same inlineframe, avoiding opening in the new window.
    Thanks in advance!

    Hi,
    when the inline frame redirects then the redirected call should show in the inline frame. Not sure about your implementation but what is loaded in an inline frame usually stay in the frame
    Frank

  • What is the optinal for af:inlineframe ?.

    Hi All,
    1.What are the stretchable components available with source attribute, in ADF ?.
    2.What is the optional components for AF:inlnineFrame ?.
    3.I have included HTML page inside the inlineFrame.After that the component is not stretching .
    I am using Jdeveloper 11.1.1.4.0.
    Please anyone suggest to me..
    Thanks,
    Rengasamy.A
    Edited by: Vass on Apr 27, 2011 2:29 AM
    Edited by: Vass on Apr 27, 2011 2:31 AM

    Hi,
    you just forget to add styleClass="AFStretchWidth" to the parent most panelStretchLayout
    The following code works for me.
         <af:panelStretchLayout id="pgHelp"
                                   startWidth="0px" endWidth="0px" topHeight="0px"
                                   bottomHeight="0px" styleClass="AFStretchWidth">
              <f:facet name="center">
                <af:panelStretchLayout xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                       id="RENGASCROLL" startWidth="0px"
                                       endWidth="0px" topHeight="0px"
                                       bottomHeight="0px"
                                       styleClass="AFStretchWidth">
                  <f:facet name="center">
                    <af:inlineFrame source="http://www.google.com" id="jsffILFrame"
                                    inlineStyle="border-color:Navy;border-width:thin;border-style:solid;"
                                    shortDesc="Help"
                                    sizing="none"/>
                  </f:facet>
                </af:panelStretchLayout>
              </f:facet>
            </af:panelStretchLayout>Regards,
    Santosh.

  • Session Expired nested application inside af:inlineFrame weblogic cluster

    We have a problem trying to call another application inside af:inlineFrame, the main problem is that when the host application invokes the guest applicacion inside the iframe the session get expired,
    The company have a architecture with 2 weblogic (10.3.6) servers, there are two cluster, in each one is installed one application, Application A and Application B
    The Message error raised is ""Could not find saved view state for token 11we1yfwcs""
    This link contains the Document with the detailed information.
    http://www.4shared.com/office/er4hb4xz/Adjunto_soporte_22-10-2012_-_E.html?
    Thanks in advance.
    Edited by: 967422 on 24-oct-2012 8:14

    Hi,
    Make sure to increase sessiontimeout from application side there is nothing can be done from server side.
    So I would say try to increase sessiontimeout from app side
    Regards,
    Kal

  • InlineFrame and external site

    I need to use af:inlineFrame and source should refer to http site from https site . added following in web.xml , but still the page is spinning any idea why 
    <context-param>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>never</param-value>
    </context-param>

    Sorry here is jdev and adf version
    Studio Edition Version 11.1.1.7.0
    Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    ADF Business Components 11.1.1.64.93
    Java(TM) Platform 1.6.0_35
    Oracle IDE 11.1.1.7.40.64.93
    Versioning Support 11.1.1.7.40.64.93
    I used FF 26.0 and url used is Oracle site  , the source is us.oracle.com domain

Maybe you are looking for

  • Mail Won't Open Since Updating to Mavericks

    Since updating to Maverick's, I've been having trouble opening Mail.  If I restart my computer, I am able to open it one time.  Then if I close it, I can't reopen it without restarting the computer.  If I try to open it, I get the spinning beach ball

  • 2nd hdd not showing up in finder (or anywhere else for that matter)

    I just picked up a dual 867mhz G4 MDD model and i want to install a 2nd drive in it but i cant seem to get it to show up. The system drive is installed behind the cpu heat sink, which seemed like a pain to get to, so i put my 2nd hdd in the bay on th

  • N78 date issues

    Hello everybody, i've some problems with my N78. It happens very often that the phone resets the date to one day before. I have updated the firmware but the problem remains. Does anybody have a solution?

  • SQL performance problem.. here is explain plan

    This takes 12 seconds... and give 100 K rows in return.. I need to do pagination and start and end index should be any rang like 200 TO 300 So when I get that it never comes back.. select rownum rn , X.*    from  v_online_item X,                 (SEL

  • Abap report attributes : Authorization group

    Hello, I would like to know if there is an enhancement to force the developer to assign an authorization group to the new created abap report, when filling the attributes Thank you by advance Philippe