Before the process of pl/sql header to assign values to the elements on the page

How can I assign values to the elements of a page based on the data structure returned by a pl/sql procedure in the front header process? I think execution of a pl/sql procedure based on a URL parameter value and then assign values to the page elements. Is this really possible using Apex 4.0.2? If so, how can it be done?

Thank you

Salome

The question is not really clear. What kind of "data structure returned by a procedure from pl/sql? Please be much more accurate.

For a data structure of PL/SQL such as records containing 2 elements (x and there) returned as output parameter for a procedure to be assigned to 2 items p1_x and p1_ypage, all that is necessary in the header before process is something like

declare
...
  l_rec rec_type;
...
begin
...
  the_proc(..., p_out => l_rec, ...);

  :p1_x := l_rec.x;
  :p1_y := l_rec.y;
...
end;

Tags: Database

Similar Questions

  • Popup before the page navigation

    Hello.

    I'm showing a popup before I have a navigation page. The popup is designed as a loading screen with and animated GIF.

    There is a button on the screen, when you click on it it should show the popup and then make navigation. (If the window is displayed until the next load of the page, the navigation link in the taskflow bacuse calls several methods between the two screens)

    First tried to use the ShowPopupBehaviour, which I discovered was not possible because he cancel the action of the button when encountered.

    Then I tried to do a program like this:

    public String cb1_action() {}
    FacesContext context = FacesContext.getCurrentInstance ();

    PopupUtil.invokePopup (p1.getClientId (context)); same as popup.show (hints)


    context.getApplication () .getNavigationHandler () .handleNavigation (null, "next_method_in_taskflow", context);

    Returns a null value.
    }

    However, it does not, since the popup is not showed.

    The question is, how to display the pop-up window before the page navigation is performed.

    TIA

    TIA, please tell us your jdev version.

    Your use case is best done using the #027 examples (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf) of http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

    Timo

  • Hit to swipe by articles in my pages are white before the page layouts will appear - please help!

    Swipe through the pages on my Samsung Galaxy some pages show white for a fraction of a second before the page layout appears.

    I first thought it was due to the size of the files, so I reduced their one downloaded article with minimum quality jpg. The folio is only 40 MB.

    It doesn't do this when I saw on my dektop Viewer.

    I'm stuck at why this is happening and how to fix this. Can anyone help?

    Thank you

    Android visual experience is less than stellar. Adobe is working on a

    Viewer native for Android which should make things much better. I do not know

    the release date, but hopefully soon.

  • JDev 11.1.2.1 method Execute (with bind variable) before the page is displayed

    Hi all

    I have a view object with a query that uses a variable binding. I drag the data on my .jsf page control to create a table. I create a query method on a bean in sight. The query method uses the content of one of the attributes of the bean to set the link for the query variable:

    vo.setNamedWhereClauseParam ("CraIdBindVar", sessionBean.getCraId ());

    I put a button on the page that calls the method of the request and it fills the table. That's fine, but I don't want the user to have to click the "query" button when browsing this page. I found forums dealing with create an AMImpl.jave method, create a link on the page, create an executable file for the link. It works that the method is executed until the page appears. However, the AMImpl method cannot call sessionBean.getCraid () to obtain the data required to complete the binding variable.

    Is it possible to run my method of view range bean before the page is displayed? Or maybe a way for the AMImpl.java method to access the range of view variable?

    Thank you, Steve

    Steve,
    You can drag a call method on the workflow activity. Select the new method call activity, and open the property inspector. Here you choose your bean method in the method property. Now, first of all, you go to this activity of method call, then the page.

    Timo

  • Run the java code before the page is rendered

    Hello

    In a workflow, can I run the code java before the page/view is rendered (i.e. some preprocessing). I need to be able to have access to the links on the page.

    Thank you!

    Yes, you can.
    Right-click on the activity of your method call, choose create the definition of the page and you can add the links you need.

  • How the ExecuteWithParams fire before the page requests?

    I have an existing .jspx page.

    I'm so ExecuteWithParams works by a button on the configuration page and returns what I want.

    How to make fire ExecuteWithParams before the page requests, so I can get rid of the button?

    Hi Blaine,

    You can add an invokeAction to your pagedef (click the sign under the executable section and select invokeAction +) and associate the ExecuteWithParams method for it (add action ExecuteWithParams binding to the pagedef if you don't have it already). After that, set the refresh of the invokeAction to renderModel.

    Now, the invokeAction would be called when the page is loaded.

    HTH.

    Arun-

  • Labels, before the Page dimensions in planning web form

    Hello

    Is it possible to have the labels before the page dimensions in planning web forms?

    For example: < entity view Page drop-down list > entity products < product drop-down list in Page view >


    I'm using EPMA 11.1.1.3 version

    Thank you
    Naveen Suram

    Hello

    This kind of question has been asked before, take a look at the data in forms customization
    There is nothing available out of the box

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Muse white space after the body, but before the page footer

    I just changed with almost a complete rewrite of my site and published it in http://www.lowerphotography.com and all is well except for the HOME page. The change was to take advantage of the new sensitive design which is very neat. Before the change of the HOME page was fine. I watched other observations of white space and made sure everything looked good... not hidden things that I could find. The master page works on all pages of the site. But the HOME page after the body and before the footer has this big white/background space after footer. I don't think it's in the master page as it works for all pages I can say. The homepage has texts and pictures on it and a link to another site. But nothing shows that the cause for me. With all the time I've spent on this site a little "bug" which is just a pain trying to get the HOME page to look really good. Suggestions please?

    You can try the solutions in the following positions?

    How to get rid of white space above the footer of Muse

    White spaces that I couldn't get rid of before the footer...

  • Newspaper is always flush with incorrect db RAS before the page?

    When commit txn, I think bdb first flush the newspaper into the disc, but can always leave the db changed in the cache page of approx. These incorrect page are emptied on the disc later when the cache close or env of db is full.

    Above is just my guess. If it's just, I want to know when to use 'DB_TXN_NOSYNC' to commit txn, bdb could assure newspaper always rinse before hunting dirty page?

    Hi Jerry,

    To answer your questions:
    1 using the DB_TXN_NOSYNC violates the "write-ahead logging he?"

    No DB_TXN_NOSYNC does not violate "write-ahead logging", but the newspaper
    No is not synchronous emptied on the validation of the transaction, this means that
    transactions can be cancelled during recovery. Indeed, transactions can
    do not appear on the disk at all (the database or log file
    updated) If an incident occurs.

    2. before the Bundesverband deutscher BANKEN evacuates its Sales database pages it is always empty
    the journal of the buffer first?

    Yes, when a data page is flushed to the disk, that a check is made to determine
    If the log record that stores the last modification was emptied.
    If not, the newspaper is emptied of memory at least this LSN.

    3. what berkeley db updates the database files?

    The database cache are emptied on the disk in several circumstances:

    If the cache is full then the least recently used page is emptied
    to make room for additional pages.

    Citing the DB-> sync, DB_ENV-> memp_sync() methods will serve the
    cache database:
    http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/programmer_reference/am_sync.html
    http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/api_reference/C/mempsync.html

    As mentioned, the method of DB-> close() empty information cached data to disk.
    http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/api_reference/C/dbclose.html

    If you use something like the memp_trickle method,
    then in this way, a percentage specified pages
    in the cache are clean, writing incorrect pages to their
    backup of files.

    Executes a control point will serve also incorrect pages from the cache
    database disk files.

    Thank you
    Sandra

  • Session Losingg points before the page state is sent

    My request for reports has an implementation report and a reset status button.
    I'm putting the URL (see's preferred language
    Re: the value of FSP_LANGUAGE_PREFERENCE in the URL )

    The report is displayed when the performance report is displayed
    the delivery to zero cache region report report and then resets the default values.

    Which seems to be the case now, is that if I submit the report, fsp_language-preference is stored in session state, but if I do not send the page and press reset I lose all session state information.

    Are clear you the cache somewhere (and therefore also for your language-pref)?

  • I still see "connection" on the tabs when I click on a link. It takes a long time before the page is displayed.

    When I click on a link on most pages, the word "connection" appears on the label, with a small rotating arrow, which remains like this for about 20 seconds.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.

    It is possible that your security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission get full and unrestricted, access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Can't access: REQUEST in the page before the process of the header

    4.2.1

    THM: 2

    Hello world

    I have a button on a page with all pages to submit and demand set to "RESET". I want access to this: ASK the sur-avant charge that the process the header, but cannot. In fact, when I click the button, it submits the page. and on the load, I should see the: ASK as "RESET", but it seems to be empty.

    I do wrong?

    Thank you

    Ryan

    ryansun wrote:

    I have a button on a page with all pages to submit and demand set to "RESET". I want access to this: ASK the sur-avant charge that the process the header, but cannot. In fact, when I click the button, it submits the page. and on the load, I should see the: ASK as "RESET", but it seems to be empty.

    By default, the value of the CLAIM is reset before show page processing begins. To apply a value available in the page see the transformation, it must be defined in the URL of the page when a request or redirect or specified in the property of the request of an industry. In both cases, the current value of the APPLICATION can be stored by reference using the substitution of static text ( &REQUEST. ), or the value of an element of a page or application session state provided using static text substitution ( &P101_FOO. )

    In this case, you will need to create a branch and make it conditional on the submit button.

  • Yellow screen before the splash screen

    Hello

    I use a g6-1004tx model.

    This problem is persistent for some time now.

    After that I start my laptop, there is a yellow solid screen that appears before the page main starup

    lights.

    I've updated all the drivers, but the yellow screen still appears.

    Kindly look on this.

    Kind regards

    Aditya

    Hello @AdityaKumar ,

    Welcome to the HP Forums!

    I understand that your portable flashes briefly before putting a yellow screen.

    I've seen similar problems before. I'm safely assuming that the laptop works fine otherwise?

    To help you, I need to know which operating system you are using. What version of Windows you are using, click here: Windows operating system am I running?

    It sounds to me like the question is the result of graphics drivers map loading slowly or error when loading in a way. Please try to start in safe mode and tell me if you encounter the same problem. You can see how to start in SafeMode here: start your computer in SafeMode (Windows 7) or start your computer in SafeMode (Windows 8).

    If the problem did not occur in safe mode, reinstall the drivers for your graphics card. You can find them here: drivers PC laptop HP Pavilion g6-1004tx.

    If the problem persists in safe mode, it is most likely hardware related. Take a look at this guide to test hardware failures: hardware failures (Windows 7) test or test of hardware failures (Windows 8). You want to run the test system and test the video.

    I would like to know if any of this helps.

  • Set a value for an inputComboboxListOfValues before loading the page.

    Hello

    JDeveloper Version 11.1.2.4.0

    I want to put the PersonName (PersonId) value of the inputComboboxListOfValues as well as the value - PersonName display of the inputComboboxListOfValues before the page loads.

    I have PersonId and I can get the PersonName him. But do not know how to set the value until the page is loaded. If I put two PersonId, PersonName the displayed value is always set to null.

    The way I put the values is on the currentRow of the main object of the view.

                        <af:inputComboboxListOfValues id="personNameId" value="#{bindings.PersonName.inputValue}"
                                                      model="#{bindings.PersonName.listOfValuesModel}"
                                                      rendered="#{pageFlowScope.reportParams['personId'] != null}"
                                                      contentStyle="width:138px" partialTriggers="pcid" editMode="select"
                                                      columns="#{bindings.PersonName.hints.displayWidth}" autoSubmit="true">
                            <f:validator binding="#{bindings.PersonName.validator}"/>
                        </af:inputComboboxListOfValues>
    

    Untitled.png

    1. Get the current row of the object of the main view.
    2. Setting the 'PersonName' attribute that is bound to the inputComboBoxListOfValues and so is used for the display value.
    3. Definition of the attribute 'PersonId' to which the value is bound.

    Looks like that everything is settled in this way.

  • dynamic action... How to make date is always before the "to date".

    Hello

    using a form, I ask my users to provide the dates...

    can I know (step by step) how to set up a dynamic action so that if it dates back to article P20_FROM_DATE after P20_TO_DATE then an error message to be generated...

    Thanks in advance

    OK, let's start again. Delete your current setup you date pickers and try these.

    P22_FROM_DATE settings

    Display on focus
    View other months Yes

    Use the same settings for P22_TO_DATE.

    Create a dynamic Action called say, Compare the Dates

    Event Before the Page is sent
    Condition Expression of JavaScript
    Value $v(P22_TO_DATE')<>

    Real Actions
    Action Draw the attention of
    Fire when the result of the event is True
    Text The date cannot be less than this day.

    Another real Action
    Action Update fixed
    Fire on the loading of the Page Checked
    Assigned to elements Selection type Article (s) P22_TO_DATE

    Jeff

Maybe you are looking for