How to reference a region in another page?

Hi,
Say in page A there are a few regions defined (pl/sql, reports...)
A page B in the same application would like to have a few of those regions, exactly the same. Is it possible to reference/symlink to them or do they have to be re-created and maintained in two places?
Thanks,
Marius

reusable modular components that maintain state from one page to the next
That is exactly what Page 0 is designed for.
I agree that the fact that Page 0 components are magically processed by the SHOW engine is a little unexpected. The Page Definition page could put a (readonly?) stub on every page that that component would render on. But this is tricky to design. If you have setup your Page 0 components to conditionally render using some complex logic, you don't want the Builder running that logic every time it displays the Page Definition page!
Instead, the Page Event view could be enhanced to show Page 0 components as I suggested at Enhancement request: Include application-level events
If you do end up putting a report region on Page 0, please be aware of a bug as we discuss at Re: Report region on Page 0: Pagination issue
Hope this helps.

Similar Messages

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

  • Open a page within a region on another page?

    Hello!
    Is it possible to open a page, within a region on another page? Similar to the way frames work? I have links in a column on the left side of a page and nothing on the right side (big white space), so I thought I would try to open up a page in the white space, depending on which link was clicked on the left side.
    Thanks!

    Hi - aren't you in danger of overcomplicating this?
    If you put your links in an APEX List, you could branch to the different pages (and always have the list of links in a sidebar on the left), so the effect would be similar.
    The thing is, you need the pages in order to have the content to pull in, so you're not saving on the work of creating and maintaining the pages, plus you need to fiddle with the template for those pages to remove headings etc. Also, you can get some interesting side-effects if you implement branching on the pages.
    It is possible to have an iframe in a region on a page that references another page. For a reason I forget now we implemented this as a dynamic PL/SQL region, a bit like this (purists look away now):
    declare
      l_html VARCHAR2(4000);
    begin
      l_html := '<table><td><tr>';
      l_html := l_html || '<iframe name="Messages" height="220" width="950" frameborder="0" src="f?p=&APP_ID.:110:&SESSION.:::::" scrolling="auto">
    </iframe>';
      l_html := l_html || '</tr></td></table>';
      htp.p(l_html);
    end;It wouldn't be hard to make the page number (110 in the above example) dynamic depending on what link or button you clicked.
    Another thing you could do is to have a completely dynamic PL/SQL region, using a function that perhaps retrieved a chunk of text from a database table, and then you'd probably want to implement it via Ajax...
    Wait, did I say something about not overcomplicating things? I don't know, APEX gets you that way...
    John.

  • How can I call AM from another page

    Hi,
    I have come across a situation which I am not sure how to solve it. Here is the issue. I have a custom requirement to add another page to an already existing custom page. The first page used to hold the data and commit buttons however because of requirements, we want users to add some comments on the second page and then save the data. In other words the save button is now suppose to move to the second page.
    The dilemma I have is that the method that used to be called from the PFR CO of Page 1 was linked to page 1 AM which had that commit method.
    I still want to re-use the method from the Page 1 AM since there is a lot of logic involved. How can I call that method while I am in my second page from my CO?
    I am using setForwardURL and I am retaining AM from page 1.
    Also, if this is not feasible what are other alternatives. Any ideas would be appreciated.
    Edited by: user501998 on Jan 7, 2010 12:21 AM

    Hi,
    Can you give me an example? I mean do I just call the AM like in the example below...in my PFR...of Page 2 Controller. I thought this would be giving me an error method not found or something since it would be looking at the AM of my current page. I will try it and see but if there is another syntax can you please provide it.
    Thanks
    Partial code from PFR of Page 2
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(eventName.equals("save"))
    if ( respName.endsWith("Admin") )
    am.invokeMethod("commitTransaction"); --- This is the AM Method in Page 1...
    } else
    throw new OAException("Shipper successfully updated.", OAException.CONFIRMATION);

  • How To Create New Region in standerd Page?

    Hi Friends,
    i got the requirement in OAF. i am in new oaf pl z any one help to me..
    My requirement is in SSH R Responsibility add the new custom region how to add the custom Region in Standered Page.
    Thanks.
    Srini

    Hi,
    Thank full for replaying...And i have one more doubt in SSHR Page having Table RN in Competences Region my requirement is here Table get the 1.FUNC Values and 2 BEHV Values so we split the both things how?
    i am approaching in this way first i create the 2 view objects through vo extension because it will came the same vo so i create the 2 vo's now how to add the competences RN.
    plz help me this is urgent......

  • How to scroll to region in a page dynamically

    I have bunch of regions in a page. One of the region is report region and I need to show atleast 25 rows in this report. I have another region below this report which displays the details of the emlloyee and allows user to edit record. When user clicks on the report column link in the employee report above, is it possible to scroll to the edit region at the very bottom of the page dynamically,so that user don't have to do vertical scrolling ?.I can't put the edit region in " region Column2", as column2 region space is also displying some related salary reports. I've the sample page on APEX. any ideas are appreciated.
    http://apex.oracle.com/pls/otn/f?p=54577:20
    workspace:Godavarthi
    username:[email protected]
    password:apex_demo
    thanks for you help,
    Surya

    Surya:
    Yes, it is possible. Use the same technique as in the report column link.
    Change the button target to URL and for the URL specify
    f/?p=&APP_ID.:<target_page>:&SESSION.:::<comma separated list of items to set>:<comma separated list of values>#<anchor_name in region header>Varad

  • How to arrange the regions in a page?

    Hi,
    I have 7 regions on a page. I used the built-in template to adjust them, such as the sequence number and column. However, if I wanted to broad or narrow the space between two regions horizontally or vertically. I couldnt' find the places. Please forgive me because I am html illterated. Can any one share some ideas with me?
    Thanks in advance.

    Carl, I think I didn't make the things clear in my previous post. What I want, is to have the display locations of some regions are "fixed". For example. if we have 2 regions:
    A B
    Now the width of A is 100, the display location of B is from 105-125. When the width of A is changed from 100 to 150, then the display location of B is from 155~175. What I want is, to have the B always stays at 155 instead of 105 sometimes. I don't mind the change of A's width. By this, the layout looks more stable, instead of a "jumping" region B.
    Hope I made it clear enough this time. and thank you for the reply.

  • How to propagate an event to another page.

    Hi guys,
    I have a page (say Main.jsp), which will instantiate another page(say Sub.jsp) when is loaded on screen. Means at the same time user can see both Main.jsp & Sub.jsp on the same screen. (Sub.jsp is called by Main.jsp). There is a button on Sub.jsp and
    I want to handle the �onclick� event in Main.jsp in stead of in Sub.jsp.
    On the other words, I want to propagate the button clicked event from Sub.jsp to Main.jsp Any idea for this?
    Thanks

    Yes this a button click, which is suppose to handle by
    java script on another page.
    Here is sample code from both Main.jsp & Sub.jsp and
    i did what you suggested(as follow) but didn't work and received an error.
    Sub.jsp
    <HTML>
    <input type="button" id="BtnEnter" onclick="BtnEnterClicked()">
    </HTML>
    Main.jsp
    <HTML>
    <form name="formMain">
    </form name="formMain">
    <SCRIPT>
         function BtnEnterClicked(){
         alert('Button ENTER in Sub.jsp is clicked');
    </SCRIPT>
    </HTML>
    Please let me know if i missed something.

  • How to add a link to another page

    Hello,
    I am new to Adobe Designer 7.0, I'm liking it so far, I had a question though, I was wondering how I could make a link from one page to another. For instance, I want to have a table of contents and I want the user to be able to click on the word whatever that may be and for it to go to the page which they chose.
    I appreciate your responses!!
    Mac Mendez

    Mac, the best way to do this is use a Button and change it to look like a hyperlink (color, etc.). Add a setFocus JavaScript on the Click event to a field on the page you want it to go to; e.g.,
    xfa.host.setFocus("Page3.TextField1");
    If there is not a field on the page, make a hidden field for it to jump to.

  • Reference report column from another page?

    I have a work order report with column link. Upon clicking link, control goes from page 2 to page 3 where I want to show details about components in work order. How do I reference the work order ID (report column on page2) from the query in page 3? I know I can reference page items, but how do you do you pass a value of a report column on the previous page?
    Thanks.
    Paul

    Hi Paul,
    Typically I would create an Item on the page being called (Page 3 in your case) to receive a value being passed via your Link; this item could be hidden or read-only. You might want to name yours; P3_WORK_ORDER_ID or something to reflect the Primary Key (PK) of your Work Order.
    On the Link Column on Page 2; I assume that your Target Page is 3.
    Down in the Link Column section under Name and Value ;
    Name might read P3_WORK_ORDER_ID
    Value might read *#WORK_ORDER_ID* this would reference the work order id column on the Page 2 report.
    Now on your Page 3 report; your SQL would need within its Where clause something like this:
    my_table.work_order_id = :P3_WORK_ORDER_ID
    Jeff

  • How to reference SQL column value for  page item text field

    greetings,
    I created a simple report based on sql query. the query is select employeeid,salary from emp_tbl. under the report column i see employeeid and salary. I created a page item text field with the source type pl/sql function body. inside this source is simple block.
    begin
    if salary < 10000 then
    return (1);
    else
    return (2);
    end if;
    end;
    from the error i take it that it doesn't understand salary. I have tried bind variable (:salary) , hash marks (#salary#), ampersand (&salary.) but nothing works. Is this even possible?
    thank you,
    mon

    Hi Mon,
    I think you will find that anything you do in Forms, you can achieve in Apex, but you may have to think a little differently. Finding direct equivalents in both environments may not be easy or even possible in some circumstances, but with a little knowledge and thought an equivalent overall business flow can be achieved that is just as efficient.
    For example, in Forms where you have a multi row block based on a table, if you need to add any derived fields then you will add these at the block level. I can see that this is what you are trying to achieve in Apex.
    In Apex this will be more easily achieved by specifying the derived fields as part of the query for the region, and if the derivation of the fields is complex you can use user defined functions. If you require page type items to be displayed such as text boxes, LOV's, radiogroups, datepickers etc then these can be embedded in the query with the use of the Apex API, see the APEX_ITEM supplied package.
    I know this is still very high level, but I hope it helps you on your way in your journey with Apex.
    Regards
    Andre

  • How to redirect a workfow to another page after it initiated through a post in a form html?

    have this but it isn't work...
    <form action="/etc/workflow/instances" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="_charset_" value="utf-8"/>
                    <input type="hidden" name="model" value="/etc/workflow/models/buy-album/jcr:content/model"/>
                    <input type="hidden" name="payload" value="${currentAlbum.currentNodePath}"/>
                    <input type="hidden" name="payloadType" value="JCR_PATH"/>
                    <input type="hidden" name=":redirect" value="/content/discostore/en/homepage/discDetailPage/californication_red_hot.html" />
                    <input type="submit"/>
                </form>

    Where are you putting this code? In a Before Header section?
    I can see there are some possible compilation issues with the code. I think you'd better use:
    BEGIN
    IF APEX_UTIL.CURRENT_USER_IN_GROUP(p_group_name=> 'Customer')
    THEN
    htp.init;
    owa_util.redirect_url('f?p=&Custlogin.:1:&APP_SESSION.');
    END IF;
    END;
    Anyway, I would use branches to achieve what you need in your page. One branch for each type of user you would like to redirect... so, for example sending user to page "x" if condition above is met:
    -Condition Type=PL/SQL Expression
    -Expression=APEX_UTIL.CURRENT_USER_IN_GROUP(p_group_name=> 'Customer')
    Edited by: Kleber M on May 23, 2013 12:00 PM

  • How to reference a variable through another variable?

    say I have 2 Flex label components. one with the id = "flexComponent1" and the other "flexComponent2"
    how would i (using actionscript) refer to one or the other without strong typing it?
    something like this:
    var test:String = "flexComponent1";
    test.text = "hello";
    And I want the actual label of flexComponent1 to change to "hello"

    Maybe this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      <mx:Script>
        <![CDATA[
          private function init():void{
            var test:* = flexComponent1;
            test.text = "hello";       
        ]]>
      </mx:Script>
      <mx:Label id="flexComponent1"/>
    </mx:Application>
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • How to minimize the gap between two regions in a page

    Hi All,
    How to minimize two regions in a page ? I have two regions in page but I need to minimize the (default) space gap between these regions as it looks too large.
    Thanks for the answer.
    Jeffry

    Jeffry,
    You may want to check the tutorial [Achieving Pixel-Perfect Page Design with HTML Templates|http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm] on OTN.
    Thanks,
    EJ

  • How to move 1 field from 1 region to another region of same page persnaliz

    dear friends,
    i m geting some problem reagrding the Oracle Apps personalization. i dont have much more knowledge about personalization of OA Framework. i want to change one field from one region to another region of the same page. can u please guide me regarding this.
    as per my knowledge i have to create the new item from personalization and the bind that item with the view object. but i dont know how to that exactly. i m geting problem to find the name of that perticular view which belongs to that perticular field.
    so can u please tell me step by step how to do that, as i m beginer in this modual..
    thanx in addvance
    shailesh

    Shailesh,
    You can hide (Render = false) for first field in 1 region using personalization.
    You can create new item in IInd region and bind with View Object.
    Question : I m geting problem to find the name of that perticular view which belongs to that perticular field.
    Ans : Check the whether you are able to get ViewInstance and ViewAttribute Name from 1 field.
    Thanks, Avaneesh

Maybe you are looking for

  • View pdf on Treo Pro

    I receive pdf documents created by Oracle pdf creator and the Adobe Reader version 2.5 supplied with the Treo Pro opens blank pages. If I open them on my pc and resave them using Adobe Acrobat Pro then transfer them back to the Treo Pro I can view th

  • Can iCal display a month bar at the bottom?

    Is it possible to make iCal display the useful bar at the bottom  - so you can click straight into any month - the way it displays on the iPad and also the iCloud website? If so, how do I do this?

  • Macbook runing XP SP3 connecting to iMac

    I have a Macbook running OSX10.5.3 and bootcamp 2.1 with windows XP SP3. The problem is that it will not connect to my iMac unless I use an unsecure wireless network. Windows xp sees the iMac, asks for a password, but thats is far as it gets. My Imac

  • Images in Bridge have suddenly become much brighter than when I call them into Photoshop CS6.

    Images in Bridge have suddenly become much brighter then when I call them into Photoshop CS6. My monitor is calbrated.

  • [OACT], Another user-modified table 'G/L Accounts' (ODBC-2039)

    Dear All, When AP dept user attempting to add outgoing payment, the error message ""[OACT], Another user-modified table 'G/L Accounts' (ODBC-2039)" appears, what could the causes of the problem be ? I have restarted server many times but still unsolv