Show a page inside a region.

Hi,
I want to display a page inside a region on another page.
Is this possible?
I am using Application Express 4.0.1.00.03
If I need to use Ajax, that would actually be better as I can then control refreshing myself.
Regards
Michael

Hi,
If I have two pages, P1 and P2, I can replace the region on P1 with the region from P2 using Ajax.
The problem is that the page now doesn't work as P1 didn't have an interractive report on it but now does.
I think that it will always try to get the report for my current page when Go is clicked anyway.
If I had a form region, the fields would have the wrong names when submitted as they would seem to be coming from the wrong page.
I think I am just going to have to try and debug my Iframe issues.
Regards
Michael

Similar Messages

  • Spool not showing the pages in sp01, but content is present inside

    Hi Experts,
    According to my requirement, i need to download the contents of the internal table into PDF file.
    But when i create a spool of the internal table contents it shows zero pages even when there is content and it gets displayed when i double click on the TYPE column in Spool number.
    Due to this when i use the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' and then 'GUI_DOWNLOAD' to convert it into PDF and download on local machine, a PDF file gets generated but it showz error stating 'No Pages found'.
    I have used the following function modules to create a spool .
    RSPO_OPEN_SPOOLREQUEST
    RSPO_WRITE_SPOOLREQUEST
    RSPO_CLOSE_SPOOLREQUEST
    What might be the reason for this error
    Thanks
    Prashanth

    Hello,
    Did u find answer to this.I also have same problem.
    Regards
    --Pradeep

  • Dreamweaver template giving up "instancebegineditable tag inside editable region" error

    I have been searching the internet and any forum I can find relating to Dreamweaver and find it has been a comman problem for a lot of people but the solutions they got have not helped me. I created a template by following steps via a helpvid.net tutorial and the site looked very good for being basic enough but since last night when I try save the template it gives up the error "there is an error at line 8, column 47 (absolute position 789) of "file address": InstanceBeginEditable tag inside editable region." Now from what I have read on the forums it usually means there is a mispelling or something placed inside the region when it shouldn't be but there is only 50 odd lines on it and can't see any problem. When I view the files it gives the error about, there are duplications of the "begin editable region" a number of times but they shouldn't be there because they aren't on the template. Im also finding that before this error came up the pages looked fine when uploaded but now the footer height which was set to 20px is 200px when uploaded and I have checked all coding for it and checked the Divs but still see no error. I have uploaded my tempalete and some of the pages that its giving errors about to see if that helps, not sure if its best to just paste wall of coding so ill post links to the files and if code needs to be pasted here ill do so. http://dublinmoulding.com/ <- site im working on, it can be seen the footer is very big. Should be 20px height but inspect element shows its 200px - #wrapper #footer {     color: #FFF;     height: 200px; On the template it is #wrapper #footer {     color: #FFF;     text-align: center;     margin: 0px;     font-size: 18px;     font-style: normal;     font-weight: lighter;     font-family: Arial, Helvetica, sans-serif;     padding-top: 5px;     padding-right: 0px;     padding-bottom: 5px;     padding-left: 0px;     height: 20px; http://dublinmoulding.com/dreamweaver/temp1.dwt <- my tempalate The error is given up on every page created using the template
    **Update**  I edited the file names of some of the pages that I used the template on so now it shows the coding.
    http://dublinmoulding.com/dreamweaver/index.html6  <- my index page
    http://dublinmoulding.com/dreamweaver/about.html6 <-about page

    No need for tricks.  We can view source code directly from our browsers or with Inspect Element.
    Like I said, I don't see any code errors in your Template or child pages. 
    If DW continues to display errors,  the first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Nancy O.

  • How to Create Master Detail Page with Query Region

    Hi,
    1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
    Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
          Supplier B in US has Supplier Sites C in New York and D in California.
    I need to have Search, based on two fields Supplier Name and Country
    Let us assume i am searching with Supplier Name A then the page should be in the below layout
    Query Region
    Supplier Name : A
    Country:
    Master
    Supplier Name  Country
        A                     Australia
    Detail
    Supplier Site  City
    X                   Melbourne
    Y                   Sydney
    In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
    I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
    But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
    2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
    Please help me how can i achieve this.
    - How to design my page with query region and master detail tables
    - what is the AM and CO code need to be handled
    - What is the code should i write in Open button to open new OAF page.
    Thanks,
    CSK

    Hi,
    This link will be useful for your requirement.
    Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
    Let me know if you need more help in this.
    Thanks and Regards,
    Myvizhi

  • Put a child page into a region in a parent page?  (APEX 2.2.0)

    Hi, all,
    Thanks so much for all of your help previously.
    I want to have the entire contents of child page inserted into a region of parent page. The child page uses the "Empty Template" template and has an report region that uses the "No Template" template.
    The parent page has a region containing a single div into which I want to insert the child page. If I do this using JavaScript and htmldb_Get object, inserting the result of the AJAX request into the DIV, I get what I want. I can't figure out how to preload the page into the region.
    I've tried using the URL region, but I keep getting
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1674
    ORA-12545: Connect failed because target host or object does not existwhen I enter the URL for the child page.
    I can't use UTL_HTTP.REQUEST, either.
    select utl_http.request('http://myserver/f?p=100:100:12345678901234')
    from dual;I get roughly the same error. (I copy and paste the same URL that I use for the AJAX request. I can also type that URL into a browser and get the page.)
    I can get both Google's and Oracle's Web sites this way.
    My other option is to render the entire page to a string, store it in a VARCHAR2 / CLOB, and output it to the screen. Is there a way (maybe using WWV_FLOW) to render a page to a string?
    I want to avoid using DHTML when it's not needed and I don't think that I would need it to initially load the page.
    Thanks!

    Carl,
    (Sorry about the reply gap.)
    As best as I can tell, iframes can't auto-fit their contents without JavaScript. I've also heard mixed things about iframes and accessibility. The contents of the iframe also don't inherit the CSS definitions from the parent frame. (None of those may be good enough reasons to not use iframes, but I am totally unfamiliar.)
    There are workarounds for all of those problems, but I'm just as inclined to write some PL/SQL function that generates my page for me and call that from a PL/SQL region, since the page is so simple. It might take me less time to write the PL/SQL function and PL/SQL region than it will to make the iframes look pretty.
    Thanks for the reply!
    Message was edited by:
    Don_84
    Well, that's odd. When I changed my authentication scheme from what I was using to the database authentication (the DAD one), the utl_http.request call works, as does the URL region. So the authentication is getting in the way. I wonder if there is a (elegant) way around that?
    Message was edited by:
    Don_84
    Is WWV_FLOW.SHOW documented? In a PL/SQL region, I can call
    WWV_FLOW.SHOW(P_INSTANCE => '&SESSION.', P_FLOW_ID => '100', P_FLOW_STEP_ID => '1000');where 100 is my app number and 7000 my page number, but it only works if I have no other regions. Otherwise, the page entirely fails to render.

  • Page as a Region

    Hello.
    Is there a way to call a page and run it on another page, I mean, like if it were a region of the other page? It would be nice to create a region with a tree menu and the links call other pages, running inside a region of the main page.
    Is it possible?
    If not, what would be the best practices for navigation using a menu (in this case, a tree menu)?
    Thanks in advance.
    Carlos Inglez

    Hi,
    If I understand correctly question , answer is yes.
    It is possible using iFrame.
    Look here
    http://apex.oracle.com/pls/otn/f?p=40323:4
    Things inside boarder are actually in different page. Page is 5 if you like check that also
    Br, Jari

  • Need Help - Problem while having a panelformLayout inside a Region.

    I have a jspx page which has some regions out of which one region has a panel form layout in it's corresponding jsff.
    Below is my 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:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/sdk/core/uifwk/template/templateDef.jspx"
    value="#{bindings.pageTemplateBinding}" id="emT">
    <f:facet name="emContent">
    <af:panelStretchLayout id="psl1" topHeight="auto">
    <!-- DO NOT REMOVE: This component is from Single Target Home Quick Start -->
    <f:facet name="center">
    <pe:pageCustomizable id="pageCustomizable1"
    toolbarLayout="message stretch addonpanels button">
    <af:panelStretchLayout startWidth="40%" endWidth="60%"
    id="ps12">
    <f:facet name="start">
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <cust:panelCustomizable id="panelCustomizable1" showEditAction="false">
    <!--Add code here-->
    <cust:showDetailFrame id="sdf1" text="General">
    <af:region value="#{bindings.General1.regionModel}"
    id="r1"/>
    </cust:showDetailFrame>
    <cust:showDetailFrame id="sdf2" text="Features">
    <af:region value="#{bindings.Features1.regionModel}"
    id="r2"/>
    </cust:showDetailFrame>
    </cust:panelCustomizable>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="end">
    <af:panelGroupLayout layout="scroll" id="pgl2">
    <cust:panelCustomizable id="panelCustomizable2" showEditAction="false">
    <!--Add code here-->
    <cust:showDetailFrame id="sdf4" text="Performance">
    <af:region value="#{bindings.Performance1.regionModel}"
    id="r4"/>
    </cust:showDetailFrame>
    </cust:panelCustomizable>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </pe:pageCustomizable>
    </f:facet>
    </af:panelStretchLayout>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Below is my jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <!-- DO NOT REMOVE: EM templateDef Quick Start -->
    <af:panelFormLayout id="pfl1">
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDomain}"
    id="plam2" label="Domain" for="aot2">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.DOMAIN}" id="aot2"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbName}"
    id="plam3" label="Database Name" for="aot3">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.dbName}" id="aot3"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbType}"
    id="plam4" label="Database Type" for="aot4">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.dbType}" id="aot4"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsHome}"
    id="plam5" label="PS_HOME" for="aot5">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.PSHOME}" id="aot5"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsCfgHome}"
    id="plam6" label="PS_CFG_HOME" for="aot6">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.PSCFGHOME}"
    id="aot6"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
    id="plam7" label="PS Application Database"
    for="gl1">
    <af:goLink rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
    destination="#{pageFlowScope.PsGeneral.appDbURL}"
    shortDesc="#{pageFlowScope.PsGeneral.appDbToolTip}"
    text="#{pageFlowScope.PsGeneral.appDbName}" id="gl1"/>
    </af:panelLabelAndMessage>
    Like this there are 23 Panel Label and Message components .
    <af:panelLabelAndMessage id="plam23" label="Host" for="gl3">
    <af:goLink destination="#{pageFlowScope.PsGeneral.hostURL}"
    text="#{pageFlowScope.PsGeneral.hostName}" id="gl3"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </jsp:root>
    When the page is rendered in the browser only the first 5 panelLabelAndMessage elements are rendered and the page is broken after that. There is no problem in the code behind, in whatever order you place the pLAM elements the first five rows are rendered and the page is broken with the following log
    Caused by: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1425)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    If i remove the "panelFormLayout" from the jsff and try, all the elements are appearing but without the alignment. So clearly the problem is in 'panelFormLayout'.
    Is there anything wrong in the jspx violationg the layout rules. Can someone help me in resolving this issue?
    Regards,
    Balakrishnan

    Thanks Timo for the reply.
    JDev Version : JDev 11.1.1.6
    Yes this is a Webcenter page.
    I don't understand what is that plain ADF. Because in all the pages we build, we use these kind of tags. I have used the same panelFormLayout in the jspx and it work's fine for any number of rows. Only when used inside the region the problem occured.
    Regards,
    Balakrishnan

  • How to display a JSF page inside center part of panel of another page?

    How can I display a second JSF page inside my center part of Stretch layout in my First page on click of a commandImageLink of First JSF page? Can anyone help me in this with some example?

    Here is a tutorial that will introduce you to the concepts of taskflows, page fragments and regions - http://www.oracle.com/technology/obe/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html

  • Multiple pages vs conditional regions

    What are opinions and suggestions about:
    using several regions on a page, with a navigation list, and the regions only appear conditionally
    vs
    separate pages?
    Marion

    For example, we have Files Load report. This page has 3 regions (hourly load summary, daily load summary and monthly load summary). There is a dropdown for the user to pick which region/report to display. If the user selects "Hourly", then Hourly Load Summary region is displayed. As you can see, these 3 regions display different summaries of the same report group called "File Load Summary". You can split this into 3 different pages, and each page can display one summary (i.e. first page to show hourly, second page to show daily, and the third one to show monthly load summary). This means you have to duplicate various validations and branches, which are pretty much going to remain the same across these 3 pages.
    Just my thought.
    Ravi Adik

  • Region inside a region

    Hi All,
    I have seen one of the example of denes kubicek.
    http://htmldb.oracle.com/pls/otn/f?p=31517:59:3401708695914565::NO
    How to create such an example.?
    I think new Page template has to be created
    if (i am wrong )
    please rectify me
    else
    please help me in how to create it?
    end if
    Thanks in advance
    bye
    Srikavi

    Hello,
    This example contain an images inside the region. What do you mean asking how to recreate it? Add images in region?
    One of the way of creating region inside another region may be:
    1) create a needed region in separate pages
    2) create a regular HTML region
    3) put iframe tag in HTML region with sources to needed region
    Example of HTML Region source
    <iframe src="f?p=&APP_ID.:3:&SESSION." frameborder=0 width="100%" height="400"></iframe>
    <iframe src="f?p=&APP_ID.:4:&SESSION." frameborder=0 width="100%" height="300"></iframe>
    Best Regards, Kostya Proskudin

  • TemplateBeginEditable tag inside editable region

    A weird issue...
    I created a template for my asp files.. All goes fine until I
    try to add a specific editable region in my code. I just do not see
    why I get the error "TemplateBeginEditable tag inside editable
    region" on this when I add this on line 6 ("PANA")...
    Anyone an idea why I get this error?

    Yes. Your coding is completely wrong.
    This markup -
    <!-- TemplateBeginEditable name="PANA" -->
    and this markup -
    <!-- TemplateEndEditable -->
    CANNOT go above the doctype.
    Why is it there at all?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "worldofrugs" <[email protected]> wrote in
    message
    news:g11cad$8fq$[email protected]..
    >A weird issue...
    > I created a template for my asp files.. All goes fine
    until I try to add a
    > specific editable region in my code. I just do not see
    why I get the error
    > "TemplateBeginEditable tag inside editable region" on
    this when I add this
    > on
    > line 6 ("PANA")...
    >
    > Anyone an idea why I get this error?
    >
    >
    > <% response.Buffer=true %>
    > <!--#include file="A.asp"-->
    > <!--#include file="B.asp"-->
    > <!--#include file="C.asp"-->
    > <!--#include file="D.asp" -->
    > <!-- TemplateBeginEditable name="PANA" -->
    > <%
    > on error resume next
    > '*******************************
    > ' Page Name
    > '*******************************
    > Dim StrPageName
    > StrPageName = "test.asp"
    > %>
    > <!-- TemplateEndEditable -->
    >
    >
    > <!--#include file="StartSession.asp"-->
    > <%
    > Dim query, conntemp, rs, rstemp
    > call openDb()
    > %>
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    >

  • How do you have 2 Safari windows open and show both pages simultaneously on the monitor

    How do you keep open 2 Safari windows and show both pages on monitor?

    While in Safari with your first window open go to the File menu and select New Window. That will open the second window on which you can navigate to your second web page. Resize both windows to fit on your display.

  • HOW TO SHOW ONE PAGE AT A TIME

    Does anybody have a clue how to show one page at a time? I clicked Facing Pages in the Inspector and 2 columns of pages showed up. Now, I can't get it back to just one page showing up at a time. There must be a fix, but I don't' want to spend days on this. Many thanks.

    Frank,
    At the bottom left of the page, click on the zoom percentage, then select One-up from the menu.
    -Dennis

  • How to show a Page Total in a Main Report that is calculated in a SubReport

    Hi,
    I have a Main Report and a SubReport with the detail.
    The Report has several pages. I want to show a Page Total in each Page, retrieving data that is in the subreport (Detail).
    I tried to use a shared variable, but the problem is that the formula fields are assigned at the end of the subreport, so I can't pass the value back (to the main report) until the last record of the subreport is printed.
    I also can't show the Page Total at the subreport, because I have a particular format that I need to respect and only can be printed from the Main Report.
    Is any way to do this ? At this moment, with the shared variables I'm getting 0 until the last record is printed.
    Also, I can calculate the Page Total from outside Crystal Reports, do to there some fields that can grow, so I can't figure out how many record are going to be printed.
    Thanks in advance!
    Ariel

    hello, this may depend on how the main report was actually paging...
    1) do you have one group per page for example?
    2) is the sub on a group footer level?
    3) does the subreport use a different data set than the main report?
    some suggested workarounds would be to
    a) use a report header cross-tab (identical to the existing crosstab) that creates an array of values that you can access anywhere on the main report
    b) place an identical cross-tab above the existing one, and suppress all of the subreport sections (not the section where the subreport sits) and then bring the value back to the main report
    cheers,
    jamie

  • Dynamically show/hide pages in a workset for special users at runtime

    Hi all,
    I want to create a workset that contains pages for different countries. The portal users should only be able to see the countries where they do business. I also would like masterdata from R/3 to drive the display of content on the portal.
    - Is there a way how I could dynamically show/hide certain pages of the workset for the specific users?
    - Would this showing/hiding of pages affect the workset for all users or only the instance for the specific user?
    - Would there be a difference when I want to dynamically show/hide iviews in a page instead of showing/hiding pages in a workset?
    Thanks a lot in advance.

    Hi Timo,
    Check out the article located at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal_content/filtering role and workset content.htm
    It talks to exactly what you're trying to do.  I'd imagine you could extend this simplistic example to have the service pull the users country from his/her master record in R/3 and set their filtering expression accordingly.
    Hope this helps,
    Marty

Maybe you are looking for