PL/SQL under the heading "view only"?

Hello

I use ApEx 4.0 on the 10g database.

I need to display the result of a procedure from PL/SQL who write HTML (htp.p).

So I created a "Display Only" type element.

It seems that there are two ways to call the procedure:

*1 :*
set the Source Type of "body of the PL/SQL function.
In the field 'Source of value or the Expression' call the procedure: show_cart (...);

*2 :*
adjust setting based on output of PL/SQL code «»
In the "Code PL/SQL which emits HTML" on the ground, call the procedure: show_cart (...);


The problem is that it break the whole page when you use the 1st solution (only if the procedure write a table), for example if my procedure:
htp.p('<div>hello</div>');
It works, but if it does:
htp.p('<table><tr><td>hello</td></tr></table>');
It breaks all the page as if a table was not locked, or something like that...

With the help of the 2nd solution works, but seems to add extra tables, or etc. and it make my margin/margin falls down, I can't implement it properly.


All I want is to display the result of my procedure, without additional HTML code... and if possible do a javascript function that make an ajax call to a request of the process that calls the procedure...

Thanks for your help.

Yann.

In this case, you could create a region of PL/SQL in your page 0 and make conditional on the current page in a list the pages that you want to use.

Or you can create an HTML region and do the same thing (probably easier).

Or you can create an application process and that subordinate to the current page in the specified list.

Page zero will give you more control over the display position and attributes.

Without seeing the application, it is difficult to determine the best approach but, in any case, an element display only is not the way to go.

See you soon

Ben

Tags: Database

Similar Questions

  • I can't find "3D Extrusion" under the header of Type

    I can't find "3D Extrusion" under the header of Type


    Which explains it then, because the 3d features are only available in photoshop cs6 Extended version.

  • EXC in ev handl: TypeError: this.oRoot.enable is not a function that is popping up when I befor I open my browser in a box pop up under the heading JAVA SCRIPT EXE. That is - what, how can I get rid of him?

    TypeError: this.oRoot.enable is not a function

    This is popping up when I befor I open my browser,in a pop up box under the heading JAVA SCRIPT EXE. What is it, how do I get rid of it?
    

    For me, this happened from disabling, but do not uninstall McAfee site Advisor. Recommend site completely uninstalled and the problem disappeared completely. I had turned off before site Advisor, but it seems after a update to McAfee, he was back and then turn it off again caused this problem.

    Go to "uninstall a program" or "add/remove programs" in control panel. Find McAfee in your list (McAfee total protection for me). Click it and then click "Uninstall/Change" (right there in XP, up above in Vista or 7). I don't remember exactly what you see after that, but at one screen I was given the choice to uninstall the McAfee total protection and/or the Site Adviser. You can just check the Site Adviser and just uninstall the Site Adviser while retaining the rest of the McAfee protection.
    

    Good luck!

  • USB key shows in 'remove hardware safely', but not under the heading of discs

    The first time I used this USB flash drive, I transferred my library iTunes from my old computer to my new laptop and it worked, but now when I plug the flash drive, nothing comes up on my laptop.  The flash drive will appear on the taskbar under 'remove hardware safely', but it is not recognized under the heading "devices with removable storage".  I tried the flash drive on other computers to see if it's just my laptop but nothing appears on the other computers either.  What should I do?

    Hi kkaydance,

    Let us first check if AutoPlay is enabled, follow these steps

    Step 1: AutoPlay  

     

    1. open AutoPlay by clicking the Start button, clicking Control Panel, on material and audio and then click AutoPlay.

    2 choose an action each time you plug in a device or insert a disc.

    AutoPlay

    http://Windows.Microsoft.com/en-us/Windows-Vista/AutoPlay-frequently-asked-questions

    Step 2: Locate the device in Device Manager

    1. open Device Manager by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Device Manager.

    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. in Device Manager, look for the USB device, and then double-click the device name.

    3. under the gaze of general tab for the status of the device for any error code indicated.


    http://Windows.Microsoft.com/en-us/Windows-Vista/get-help-with-Device-Manager-errors

    If the problem persists,


    Step 3:
    run the fixit provided in the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-solving-problems-with-USB-devices

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I add a new site under the heading 'Favorites '?

    How can I add a new site under the heading 'Favorites '?

    See: https://www.winhelp.us/internet-explorer-11-favorites.html

    He will explain

  • I have Photoshop elements 14. Some options (eg. those under the heading 'Layer' are grayed out.

    I have Photoshop elements 14. Some options (eg. those under the heading 'Layer') are grayed out. Is this normal?

    Settle in the right forum.

  • How can I re-download Acrobat? I have my serial number but the order does not come under the heading upward my story.

    How can I re-download Acrobat. I have my serial number but the order does not come under the heading upward my story.

    Hi Roger,

    You can download Acrobat from the below mentioned link:

    Download Adobe Acrobat products. Standard, Pro | DC, XI, X

    Kind regards

    Rahul

  • There is a rectangular main srceen of MF transparency, avoiding to me to click on the link under the header that rectangular... Help, please

    There is a transparent rectangle on header main MF srceen, which avoided me click on the link under the rectangular... Help, please
    even when I rebooted the computer, it didn't disappear!
    http://i.imgur.com/WIvyr.PNG

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Photos 1.3 "JDK 8 Update 73" shows under the heading import on the left.  I also have a pop up telling me to install it in safari.  Have already installed several times.  Any ideas?

    Photos 1.3 "JDK 8 Update 73" shows under the 'Import' section on the left.  I also have a pop up telling me to install it in safari.  Have already installed several times.  Any ideas?

    Looks like pictures which I assume you mean Apple's application to view and edit photo files is a 'disk' called JDK 8 update 73 ad.

    This implies that you have downloaded and mounted a "disk image file" for the update of Java and it is always 'mounted '. However the fact that you are still being harassed to install it in Safari implies that you have not run the update of Java installation package that must be inserted into the drive.

    Then, go back to the Finder and look for a drive in a window of Finder called "JDK 8 updated 73'. Click on that in the window of the Finder and the window should then list the contents of this disc. In this list should be something obviously to do with the installation, most of the installation files have an extension of the .pkg file, it could be called 'update Java 8 73.pkg. Double-click or open the pkg file and follow the instructions.

  • How to print the Outline view only?

    How to print the map view black and white only? I've pasted the outline of a layer, hiding all other layers, but still printed Preview color mode.

    Only way I know is t take a screenshot and print that.

  • How can I add a straight line in a State of working capital under the heading of menu nav?

    Can we do this in Adobe Muse? I want to include a line that appears in the menu item, under the title of the menu, a mouse is reversed or tapped a finger on the item on a mobile device. For example the House with a line just below that will appear when I change the rollover State. I don't want to underscore. I mean a line of a few pixels to the bottom of a menu item name.

    You can do this by adding a line to the bottom of the menu items (remember to separate the four sides). You must do this for all four States - use the same color for the States you want to see the line, otherwise, the text will jump.

    David

    Creative muse

  • How to find the media that are listed under the heading "Current project" but is no longer used in the timeline?

    Good day everyone.

    Been working on a fun project for a while now and overtime, I added the audio, images and YouTube videos in my project that later, I decided not to use in the timeline panel.  These media (for example, a specific song or image) are always loaded when I load the project and are included in the assets of the project, of course.  The reason being, I never deleted from the project.

    Now, I probably have about 30 to 40 cases.  It is time to clean house and I want to know if there is a command or a way to get the first (ss12) to highlight, gold banner somehow let me know which media, well listed and loaded, is not used in the timeline panel.

    Any chance this feature exist?

    Best.

    Love_Green_Turtles

    For your consideration... Try on a new mini test project before using it on a project of 'true '...

    Open an active project

    Click on the Options tab of Control Panel

    In the Panel Options Select display

    Select in the List View view

    In list view all files that are in the current project and the timeline will have a green dot in the used column.

    If you delete a file from the timeline, the green dot next to the involved file will disappear.

    You should be able to go through the list of assets/open project view and clear all entries that do not have a green dot next to them.

    Another safety net to consider... make a copy of the 'real' project and try the above on the copy.

    Please let us know if we have targeted your question and if the works above for you.

    Thank you.

    RTA

  • Register proc of pl/sql under the concurrent program

    I'm looking to which a pl/sql package.procedure as a concurrent program.

    I would like to run the concurrent request of user FX_RATES, i.e.
    SQL> l
      1  select fnd.User_id
      2        ,fresp.Responsibility_ID
      3        ,fresp.Application_ID
      4  from   FND_User fnd
      5        ,FND_Responsibility_tl fresp
      6  where  upper(fnd.User_Name)              = 'FX_RATES'
      7* and    upper(fresp.Responsibility_Name)  = 'GL SUPERUSER'
    SQL> /
    
       USER_ID RESPONSIBILITY_ID APPLICATION_ID
    ---------- ----------------- --------------
          1067             50254            101
    So I used the following script to record the simultaneous program:
    declare
      b_OK boolean;
    begin
    
      fnd_global.apps_initialize(1067, 50254, 101);
    
      b_OK := fnd_submit.set_nls_options('AMERICAN');
    
      fnd_program.executable( 'GL_MNH_FX_LOAD'                  -- executable name
                            , 'SQLGL'                           -- application name
                            , 'GL_MNH_FX_LOAD'                  -- short_name
                            , 'GL Mnh Rate Load'                -- description
                            , 'PL/SQL Stored Procedure'         -- execution_method
                            , 'GL_RATE_LOAD.LOAD_FX_MNH_RATES'  -- execution_file_name
                            , null
                            , null
                            , 'US'            -- language code
                            , null);
      commit;
    
      fnd_program.register ( program                => 'GL Mnh Rate Load' -- Name seen on concurrent request screen
                            ,application            => 'SQLGL'
                            ,enabled                => 'Y'
                            ,short_name             => 'GL_MNH_FX_LOAD'
                            ,description            => 'Loads FX Rate file'
                            ,executable_short_name  => 'GL_MNH_FX_LOAD'
                            ,executable_application => 'SQLGL'
    
      commit;
        
      fnd_program.add_to_group('GL_MNH_FX_LOAD'
                               ,'SQLGL'
                               ,'GL Concurrent Program Group' -- Request Group Name
                               ,'SQLGL');
      
      commit;
    end;
    /
    But when I login as FX_RATES I can't view the competitor ask "GL Mnh charge rate.
    When I login with administrator user, I can see the program is defined, i.e. simultaneous-> program-> define.

    So why is the simultaneous program not available in the screen after you select SUBMIT new request when logged in as FX_RATES?

    Hints would be much appreciated!

    After you connect as user FX_RATES, what responsibility you choose? The new concurrent program should be added to the application group that belongs to this responsibility.

    For research through forms, you access the form, press F11, enter the search criteria, and then press Ctrl + F11 to retrieve results.

    PL note this change of basic objects (such as responsibilities and application groups etc.) is not recommended. These changes will not survive an upgrade, as the upgrade process will be back on all these custom changes. It is best to create custom query groups / menus / responsibilities etc. to all custom objects.

    HTH
    Srini

  • PDF showing files is no longer under the heading books in iTunes

    iBooks still displays a list of PDF files, I like to keep on my iPhone, but in iTunes, only real books are visible, when I select to display a PDF file in iTunes, the window is empty.  Notice when I opened iBooks to synchronize my phone asked if I wanted to sync via iCloud, sounded like a convenient option if connected in iCloud.  Then I opened itunes and noticed that there is not a visible PDF file.  Had previously set iTunes to sync only selection of books & PDFs on my phone.  Made some changes to my icons of the screen in order to sync the phone and all PDF files have been removed from my phone. tried to restore the backup phone, but only includes things like calendar, iBooks was not on the list. iCloud open both my phone and macbook, it's empty.  where are my PDF files and how can I get back them on my phone (and keep having to remove them from my iPad)?

    Or your books and PDFs in iBooks on your Mac is stored in a hidden in your user library folder if you have activated sync iCloud for iBooks.

    You can reveal this folder using the Terminal.  Open a Terminal and copy and paste this command in the window, exactly as written, then press return.  It will open the folder hidden on your Mac, where the iBooks are synchronized in iCloud.

    Open Documents/iCloud\ ~/Library/Mobile\ ~ com\ ~ apple\ ~ iBooks/Documents /.

    Are always there in your PDF documents?  Make the backup copies of your PDF documents, but not to change anything.

    With iCloud enabled for iBooks you download books on your iPad/iPhone iCloud.

  • How is it, I'm not able to prevent Firefox to allow pop-up windows - up even after I get the address of the site under the heading security?

    I use Firefox on a Mac for many years and have been happy with it. I have recently went to a different trading called Trademonster.com platform and will have problems with its operation. When I call Trademonster, they told me that my Firefox must allow popup windows to operate. I notice that when I connect Trademonster on Firefox, it says «...» Firefox has prevented pop-up windows - 2 opening up." I spent under Security entered trademonster.com as site access and preferences, but I still get the signal that Firefox prevents pop-up windows from coming on the trading platform.
    Help, please.
    THX.
    P. R. Patel

    Please see the article display the menu of the Firefox button instead of the menu bar for more information.

Maybe you are looking for