APEX Bug: Page Copy with Items in Region on Page 0

I've created a region on Page 0 which is a common place holder for items. On all the pages developers will link several items to this region.
If I copy a page that has items associated to a region on Page 0 those items are not copied. Items that are associated to regions on the current page get copied
Martin
http://www.talkapex.com

Hi Martin,
I have filed bug# 10386419.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Drag and Drop Layout with items attached to Page 0 Region Bug

    Hi,
    I have a region on P0 (P0_REGION) and multiple page items (not on page 0) are associated to the region. When I go to "Drag and Drop" the page items I see all the Page Items for the given page and all the Page Items that are linked to a P0 Region. For Example:
    P0:
    Region: P0_REGION
    P100:
    Items: P100_X, Region: P0_REGION
    P200:
    Items: P200_Y, Region: P0_REGION
    Now on P200, click on "Drag and Drop" above P200_Y I'll see P100_X and P200_Y.
    This is a bit of an issue if you have a lot of items that are linked to a region on Page 0 but actually belong to another page.
    Is this a bug?
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    Look at the following link:
    Drag and drop - like the builder?

  • Help with how to refresh one region of an APEX 4 page.

    I have tried the options I can find to refresh a single region (classic report) on an APEX 4 page. I want the refresh to happen automatically without any input from a user (no button press, no sorting on the report or anything). Just based on a 5 second interval. Can someone help me further. It seems that I need to either use javascript or jquery. I am not sure where to put this code.
    I have tried the following different methods. I put them in the Region Footer. Not sure if that is the proper place. Nothing happened when I did this.
    Using: Application Express 4.0.2.00.07
    <script type="text/javascript"> 
      <!-- 
        jQuery('#STATIC_ID_OF_REGION').trigger('apexrefresh');
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval( "$a_report('#REGION_ID#'.substring(1), 1, 7, 7);", 5000);
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval(function(){ $('#P4_LIST').trigger('apexrefresh'); }, 000);
      //-->
    </script>Thanks.
    Edited by: cjmartin on Oct 13, 2011 2:34 PM

    Hi cj,
    The following works for me. I just chucked the function in global function definition on the page definition.
    var doIt = function(){
    $('#comment_report').trigger('apexrefresh');
      setTimeout("doIt()", 5000);
    }And execute on page load:
    doIt();Edited by: trent on Oct 14, 2011 9:11 AM
    By the way, what is the function $a_report? I can't see any documentation for it: http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#CDEEIGFH Is it a supported function?
    Also in your above examples, you set the interval once, but it wouldnt recurr as you're only calling setTimeout once. http://www.w3schools.com/js/js_timing.asp

  • Bug report: Copy page - Highlight report keyword

    Minor bug
    I have a page with a report region and a search text field P1_SEARCH and this is used as &P1_SEARCH. in the Highlight words attribute of some of the report columns.
    When I use the Copy Page wizard to copy this to Page 2, the wizard creates the P2_SEARCH item but the Report Column attributes still refer to &P1_SEARCH. so the highlighting doesn't work.
    Thanks.

    Hi,
    just discovered, that the "Copy Page Wizard" doesn't copy the "Static ID" of regions.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com/
    The APEX Builder Plugin: http://builderplugin.oracleapex.info/ New
    The ApexLib Framework: http://apexlib.sourceforge.net/

  • Apex bug?  Items being cleared in session state - can't figure out why

    I have an item that is being submitted with a value but is then being overwritten and set to null. I can't see any reason why the submitted value is being overwritten with null.
    I have been debugging this problem for most of the day and can't figure out what is happening and was hoping someone in the forum might be able to shed some light.
    Some details:
    The item is on Page 0, has source type of "PL/SQL Expression or Function", a source expression of "V('REQUEST')", and Source Used = "Always".
    I viewed the HTML source of the rendered page and can see the following HTML, so I know the item has a value when the page is rendered:
    <input type="hidden" id="RENDER_REQUEST" name="p_t08" value="EDIT" />
    I have used Firebug to view the HTTP POST body and can see that p_t08 is being correctly submitted with a value of "EDIT" in the post body.
    When I run the page in debug mode and then view the debug log, I see that Apex is indeed setting this item to null:
         0.01500     0.01600     A C C E P T: Request="WIZ_NEXT"
         0.23400     0.00000     Session State: Save form items and p_arg_values
         0.24900     0.01600     ...Session State: Save "BRANCH_TO_PAGE_ID" - saving same value: ""
         0.24900     0.00000     ...Session State: Save "ROWS_PER_PAGE" - saving same value: ""
         0.26500     0.01500     ...Session State: Save "P0_CLEAR_WS" - saving same value: ""
         0.26500     0.00000     ...Session State: Saved Item "RENDER_REQUEST" New Value=""
    I can't figure out why the item is being set to null.
    This problem also does not occur on every page. The pages in question are a multi-step "wizard" that allows the user to navigate between steps with "Next" and "Previous" buttons. Since this is a page 0 item, it appears on every page in the wizard so I'd expect it to behave the same. When you open the wizard at step 1 and press next to go to step 2, the item (RENDER_REQUEST) is set correctly on step 2 of the wizard, BUT when you then click Next to go to step 3, RENDER_REQUEST is null on step 3. If you open the wizard at step 2 and press Next, RENDER_REQUEST is null on step 3.
    I did find a work around, but it doesn't make any sense why it would work: if I move the RENDER_REQUEST item from the "Footer Items" region to a page level item (by using Edit All and setting its region to blank), then the problem goes away. If I move it back to the "Footer Items" region the problem reoccurs.
    I am working on Application Express 4.0.2.00.07 on Oracle Database 11g Enterprise Edition Release 11.2.0.1.0.
    Any help would be greatly appreciated!
    Thank you.

    Hi Patrick,
    Thanks for the quick response. Unfortunately, I can't reproduce this on apex.oracle.com due because the app requires PL/SQL packages to be installed in several schemas, including some that require system grants (I gave a presentation at Oracle Open World a couple of years ago on some of the techniques I used in building this application that you attended; I think the session was called "Building Large Commercial Applications with Oracle Database 11g and Oracle Application Express").
    Is there another way we can work together to debug this without reproducing it apex.oracle.com? For example, if you could send me an instrumented version of the APEX_040000.F procedure (or whatever procedure is clearing the session state) that has some additional APEX_APPLICATION.DEBUG calls, I could install it on my server, reproduce the error and send you the output.
    Thank you,
    Eric

  • RE:Blank page with items

    Hi!
    How can i create a form which isn't bound to a table or view. I tried using a blank page but seems like a blank page can't have items on it.
    Or create of type "No tabs with Sidebar"
    Thnx.

    Hello,
    Create a blank page with a HTML region on it. Then you can add items to this region.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • How can I print a web page to a hard copy with Adobe?

    How can I print a web page to a hard copy with Adobe? When I print this particular page in the usual way it prints only the text of that page, not the photo that's also part of that page.

    I have Adobe SendNow, but I can buy another Adobe product if it will solve my web page printing problem.

  • How to export the Apex web page to PDF with click of a button?

    How to export the Apex web page to PDF with click of a button?
    Am looking at exporting the Form view on APEX to be exported to PDF.

    In order to get a PDF, you need to generate a Report....in PDF format.
    If you are using the APEX Listener, you can initiate the download of the PDF by calling APEX_UTILS.download_print_document()  (I normally place this in a Process)
    BUT -- You have to create the Report (under Shared Components) and a Template (also under Shared Components).
    The white paper in my first post gives you the HOWTO "[Create] Custom PDF Reports with Oracle Application Express and the APEX Listener".
    Start by creating a Report (in Shared Components, bottom right) that uses a simple SQL statement like:
    Select * from emp where empno = :P15_EMPNO
    You may need to hard code the parameter before you hit "Download XML" button.
    The XML that you get from clicking "Download XML" satisfies the "Step 1 - Create an XML Data Source" found on Page 11 of the document.
    The rest of the instructions is in that whitepaper.
    MK

  • Some items doesnt get copied with header partner

    Hi ,
    I have a issue with an order, where when teh order header partners are redetermined, (ship to), some of the items on the order doesnt get copied with the new ship to.
    There is a check box at the item partner screen which is been ticked only for the items where thsi change doesnt take place.
    It indicates that 'Partner valid at item level, if this indicator has been activated, the partner is valid at item level.'.
    Could someone please advice the reason as to whta the check box means as well as the reason as to why the header partner doesnt get copied to the line item partner.
    Thanks,
    Keshini

    Hi,
    Read OSS  Note 550073 - FAQ: SD Partner Determination I, points 1 and 2.
    The description from the note is,
    1. Question: Why is a new partner determination not executed when I change the partner ?
    Answer: The partner determination always runs when you create a document. Then dependent partners are automatically determined and checked. If in the existing document you change a partner, the system does not run a redetermination of the partners (except when the sold-to party is changed). This works as designed and possible dependent partners are not redetermined.
    2. Question: Does the partner determination take place on item level ?
    Answer: An item partner determination is not provided in the standard system. You can enter item partners manually. Here, in Customizing of the item partners you can specify which partner functions should be allowed on item level and which not. The header partner functions are always allowed on item level. On item level, if you enter a partner, it is visualized by the item partner flag. For an item partner you can change the address data, header partner addresses cannot be changed on item level. The logic of the item partners is: If for an item there is no partner, the header partners are displayed. If as described above you enter a partner on item level, this partner exists on item level. If for a partner you enter an address differing from the header but the partner should stay the same, you can just enter the partner again manually for the respective item. Thus the partner becomes an item partner and the address can be changed.
    Regards,

  • Align page item to region right edge.

    Hi gurus
    I have a region that has just one page item and I want to align it to right edge of its region.
    How can I do that?
    Thanks in advance
    Oscar

    Maheswara,
    Thanks for your answer.
    Really my region is a reports region of item-above-region-content type.
    And the only page item has to be right-aligned to match rigthmost columns.
    Can this info helps you?
    Oscar

  • Help with what should be an easy workflow.. copy finder item

    Hello,
    I am writing a workflow to backup a folder to an external hard drive. The flow first copies the folder to the desktop, then re-names it with the date and then should be copying it to an external fire-wire hard drive.
    The problem is that the "copy finder item" does not work - only the last sub-folder in the folder actually gets copied. I can't figure out what the problem is. This seems to affect both the copy to the desktop and then the subsequent copy to the firewire drive. Puzzlingly, it sometimes seems to work and copy the whole folder!
    Any advice?
    Jonathan

    Well, I don't know what's causing your problem, but let me suggest an optimization. Unless you have a specific reason to want this, there's absolutely no reason to copy the folder twice. Right now, you're copying to the desktop, renaming the folder, then copying to the external drive. Presumably, you must at some point delete the copy on the desktop. Copying twice means the backup will be half as fast as it could be. It also introduces extra room for errors by increasing the complexity of the task.
    Instead, copy the folder to the destination on the external drive, then rename it once it's there. Perhaps, if you're lucky, in making this change, your problem will solve itself.

  • I have two computers. One is a home office type and I take my lap top with me on the road with work. How do I copy my items from my I-pod to my laptop?

    I have I-tunes downloaded on both computeonrs but only have my Information stored on my home computer as it is much faster to download information to when adding items to my I-pod.  I am not sharing this information with anybody but using it myself.

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entires and import the local content you have on that box.
    On the offchance that you've split out the media folder from its normal location inside the iTunes folder see make a split library portable.
    tt2

  • How to copy with the marquee tool without cutting the region?

    I know this has been discussed but I cannot find the thread unfortunately.
    How can I copy parts of a region with the marquee tool without cutting the region??
    Thanks for help Eddie

    How about having the Pointer Tool set as your main tool and setting the Marquee Tool as your "Command tool" (i.e., the one that shows up by pressing the Command Key).
    Then you can hold down the Command key, make your Marquee selection, let go of the Command key and your back to the pointer, then Option-Drag the selection to a new location.
    From the LP7 Reference (pp.16-17):
    "When editing objects graphically, you always have two tools available at the mouse pointer position: one is already active, the other is activated by holding down Command. ... To assign a tool to Command, click on the desired tool in the Toolbox, with Command depressed."
    Hope this helps,
    Mitch

  • APEX Bug - Drag and Drop

    Hey all
    I've discovered a rather annoying bug in APEX's drag and drop item layout.
    I'm designing a form and putting mainly text fields down in a column.
    Every now and then one of these text fields needs to have a text item (display only) beside it.
    The problem is, say if I add 2 display only items beside 2 different text fields, it "forgets" about one of these items when I press the Next button.
    It just comes up with the next screen - but it's missing one of the display only items!
    Then, seemingly at random, the missing item will (after much editing of the item layout) just appear again at the top of the item list! (when it was positioned somewhere completely different before).
    I've managed to reproduce this multiple times.
    Makes creating and editing pages with items a very annoying chore!

    Oh, ok.
    Well, it happened to me every time on 2 separate item regions.
    I'll just go and try to do it again... See if it still 'works' :)
    ok well it's still doing it...
    I just added 2 display only items to my existing item list, and NONE of them were actually added.
    Here was my display list:
    Region: Collection Details
    186 P2_COLL_DAYS Checkbox
    193 P2_COLL_TIME Text Field
    195 P2_ALLOW_MULTI_TRANS Checkbox
    196 P2_ACC_COUPON_TYPES Text Field
    198 P2_COUPON_OPTIONS Text Field
    200 P2_MESSAGE_1 Text Field
    201 P2_MESSAGE_2 Text Field
    202 P2_MESSAGE_3 Text Field
    203 P2_MESSAGE_4 Text Field
    204 P2_MESSAGE_5 Text Field
    205 P2_MESSAGE_6 Text Field
    22 Itemsand I tried to add a display only item after both of these:
    196 P2_ACC_COUPON_TYPES Text Field
    198 P2_COUPON_OPTIONS Text Fieldname: "P2_ACC_COUPON_TYPES_TEXT"
    text: "[e.g. 1,2,3]"
    and
    name: "P2_COUPON_OPTIONS_TEXT"
    text: "[e.g. 5 or 5,10,15]"
    And neither of them showed up on the next page (where you confirm and adjust the items).
    I'm using Internet Explorer 7.

Maybe you are looking for

  • Heirarchy values are not displaying correctly in report.

    Hi, I am having a heirarchy field in my report. I have 2 local RKF's in my report and 2 manadatory variables(which are FISCAL YEAR AND CAL MONTH). When i am executing the report , it is displaying the Heirarchy values with respect to one restricted K

  • EJB Store called in a loop

    I am having a problem porting our application from weblogic5.1 (EJB1.1) to weblogic8.1 (EJB2.0) My current problem is an ejbStore called in a loop during a finder method call of a BMP entity bean. The outer session bean calls entity beans in a transa

  • Printer will not print but will scan and photocopy HP Photosmart B109n-z

    Hi When I go to print a document I keep on getting the message error - printing,  we are using the printer on a wireless network Don't know if this has anything to do with it but installed the new BT Home Hub 3 yesterday had previously the BT Home Hu

  • Drag and Drop multiple boxes and snap to multiple locations then reveal button

    Hi I'm Trying to develop a small game where the user chooses from a range of boxes of the left of screen and can drag 3 of them separatley to 3 holding boxes on ther right. each box can be dragged to any location and the order is not important. Once

  • How do I get my music off of the cloud and back into my library

    How do i get my music off the icloud and back into just my library?  It started downloading my music in my library and put it on this icloud and now I cannot play the music in the library that has been downloaded on the icloud