Element of the page to send: need for clarification on variable bind and online help

Hello

For dynamic actions "Code from PL/SQL Execute", online help for the PL/SQL Code is as below:

Specify a single anonymous PL/SQL block, which will be executed on the server to run.

You can reference another page or link elements of the application from your application here by using syntax (for example: P1_MY_ITEM), but if you don't you need to include in the "Items to submit Page" attribute also.

For example:

Start

setCommission(:P1_SAL,:P1_JOB);

end;

In this example, you must also include P1_SAL, P1_JOB in the "Items to submit Page" attribute.

When I read this I understand that I must include in the 'Page of Items to send' attribute if I want to use bind syntax for them. In fact, I include in the "Elements of Page to submit" attribute if I can submit their values on the server and use this new value in the PL/SQL Code. If I want to use are already in session and I want to use these values, but not the new values (updated on the screen, for example), I don't have to submit to the server and I can use the bind syntax to get values that are already in session state.

It was perhaps obvious, but it wasn't for me before I did a few tests with the attribute "Page of Items to submit". I don't know if I'm clear. English is not my mother tongue.

Could someone confirm or not the behavior I described?
Perhaps the online help could be updated to be more obvious if what I described above is true.

Thank you

Hello

Your interpretation is correct. And you can use the old values in the syntax of the bind variables, provided that you have not changed the in your PL/SQL.

Glance in this way, when a page is loaded from an HTML document is created in the browser that reflects the State of session maintained on the server. But at the time wherever the page is loaded, the two are completely separate and can be manipulated independently of eachother. JS and dynamic Actions using JS work only on the DOM HTML template while Ajax and the PL/SQL work on the Session State on the server.
So when the page is be displayed two, HTML and session state, can be completely different depending on how you handled the.

The DOM HTML template and Session state again get synchronized (new values recorded or scrapped) in the treatment of the consignment and the State resulting is again used to render him refresh / reloaded page.

Kind regards

Tags: Database

Similar Questions

  • The default value for the elements of the page get ready when the session is disabled

    Hello

    I am facing this problem, do not know how to solve this problem. Basically, the default value 'elements' on the page don't prepare you when the session is disabled and I visit the page for the first time. So when I check the session for the first time, all page elements are null. But when I revisit the page, page elements sometimes gets.

    Don't know what I'm missing here... Someone has encountered this problem before?

    Thanks in advance! Kindly let me know if you need more clarification.

    Is there a way that the page element can be defined at the time the page is loaded for the first time?

    Yes. Create a "Page Rendering" PL/SQL process. That it is very early in the page rendering (i.e. "on charge ‑‑ after Header"). Set the value of the element of page here:

    BEGIN
      :P10_MY_ITEM := 15;
    END;
    
  • Different value for the element on the page on different areas on the same page?

    Hi all:

    I use APEX 4.0.6 and I have a page with 4 regions and each of the region shows a classic report which SQL is very similar to the other:

    for example

    For region 1, the SQL looks like select * from history where status = 'A ';
    For region 2, the SQL looks like select * from history where status = 'B ';.
    For region 3, the SQL looks like select * from history where status = 'C ';
    For region 4, SQL looks like select * from history where status = ';

    To optimize database performance, I like to create a page element called p_status_value on this page and using the syntax of following link for the SQL statement for all 4 regions:

    Select * from history where status =: p_status_value;

    However, I need this page element value is dynamically change for each region:

    For region 1, p_status_value = "A";
    For region 2, p_status_value = 'B ';.
    For region 3, p_status_value = 'C ';
    For region 4, p_status_value = ';

    Also, I need hide this element of the page on this page.

    Can someone show me how to do this?

    Thanks in advance!

    Kevin

    Published by: Kevin Zhang on May 10, 2011 13:03

    Then I would have 4 regions, with each region report, create a box item in each area, called PXX_REGION_VALUE and then your request is:

    select * from history where status = :PXX_status_value_X; (XX for page # and X for region #).. The database engine will crunch through the query and your dashboard will work fine..
    
    Thank you,
    
    Tony Miller
    Webster, TX
    
    If vegetable oil is made of vegetables, what is baby oil made of?
    
    If this question is answered, please mark the thread as closed and assign points where earned..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • The page you are looking for is not available. You may need to contact your administrator with this error: 404 Page not found.

    I am at a loss.  I've set up a root certification authority to sign all servers in my workspace of Horizon, SAML is in the Green and after a lot of reading when troubleshooting also synchronized on all my ESXi hosts and guests.

    Basically, what I did is the following:

    Set up the connection to the Server VMware View Horizon 5.2 - created different pools and can connect via the customer different platform. (a few times to eliminate any possible configuration errors along the way)

    Configuration of VMware View Horizon Workspace 1.0 (a few times now) with self-signed and CA signed certs.  My workspace appears fine, the synchronization of files, apps work, and view pools appear.  When I try to launch your desktop from inside the Horizon workspace I get this error:

    The page you are looking for is not available. You may need to contact your administrator with this error: 404 Page not found.

    Now I think that I followed it down to something to do with SAML connection - which, to my understanding, archery chips between workspace and view.  On the login server, I see it in the Windows event log:

    BROKER_USER_AUTHFAILED_SAML_ACCESS_REQUIRED

    SAML access required but not tempted by customer

    Attributes:

    Source = com. VMware.VDI.Broker.filters.SamlAuthFilter

    Time = MON may 20 16:06:41 MDT 2013

    Gravity = AUDIT_FAIL

    Node = ViewConnection.access360.ca

    Module = broker

    Recognized = true

    Something is not crossing to allow me to access my office view since the workspace of Horizon.  If I remove the requirement of SAML on the login server see, when I try to connect to a desktop computer from the view connection server I get a promotion for and can I get my IDs & field and have full access with reviews, as well as blast HTML - just cannot get there with Horizon Workspace.  There must be something that I am missing with SAML...

    As I said, I'm at a loss here on what does not work between the Horizon workspace and the connection of SAML for display to connect to the server.  There is no server security, server transfer, and firewalls is all off, so I don't think it's a network problem.  Simple as possible.  The Windows Journal event displays the login displays server error is: access required but not attempted by client SAML.  I have all my servers synchronized after a few seconds - so I don't think that documented the TIME Horizon workspace synchronization time sensitivity is responsible here.  I am Pack overnight, but will do exactly the same thing with a client of tomorrow - hopefully without the same result!

    Any ideas?

    A

    So I re-deployed the VAPP (again!) very attentive as I went.  As usual, the initial database installation failed because I entered my domain FULL of the gateway name, so it does not match.  After useful messages already there for this (Workspace install fails with error creating the user admin) I used the wizardssl.hzn of connfigurator - going to recreate a rootca to the environment based on my FULL domain instead of the bridge - going and then let it grow all for the other vApps.  I then connected to each and pulled down my private rootca and ran c_rehash, etc. (another useful message!- adding MS signed Certs to Horizon Workspace & laquo;) Carlos & #039; Corner) I actually use my background to UNIX and openssl to be my own private CA and sign all of my certificates.  I created the SAN cert and added to the SSL configuration on the Configurator - going and connector - going.  Oddly enough, both of these server do not appear to be accepting SAN cert that includes their ENTIRE domain, but that's for another day... My Horizon Workspace FQDN does show as being approved by installed RootCA private (which does not have other DNS names for the service - going, the Configurator - goes, the data - will and the connector - will, but as I have already said--a battle for another day) so it's a good thing.  I joined my workspace to my domain name - well!  Activated would be pools seen in the Configurator - goes - sync - good.  CRT for the my display login server has accepted and implemented the SAML trust.  Still good.  Sync in my opinion users group who already had a couple of linked clone pools allowed to do.  Good.  Connected to the FQDN of my workspace and clicked on computers - seen my 3 pools.  Clicked on one and after a few seconds, launched in a new window of the explosion.  Success!  I disconnected and connected on a different machine, and something that I saw before, but doesn't have a lot of attention to was the connector - will put 'use windows authentication', I couldn't understand why every time I sailed on my Horizon workspace a no vmware window opens asking access my FQDN:443 with a user and pass.  It is this setting - duh.  I'm not sure yet that gives me, so it's off for now.

    Thanks for all the input: it's good to know that there are others with some of the same questions.  It's still v1.0, it is related to some of these pitfalls.  It is capricious with derived from same time less than 10 seconds seems to have a negative impact.  Had to ensure my ESXi servers were strong (never worried a lot in the past with MS AD being quite tolerant with small derivatives) I tired my vApps affecting a NTP, but they seemed like being left to the default of synchronization to the ESXi host.  See how than pans.  CERT is somewhat capricious depending on your deployment.  Of course the connector - will and the Configurator - must be signed by a CA that they are internal, but always be nice to then have signed internal...

    Now, I'm on ThinApps for desktops as well as the web interface integration.

    I bumped my head against the wall with my first configuration of Citrix XA and XD (before having VDI in a box!) and it was the best way to learn.

    I don't know that I grave along that I finished my PoC, but I'm very happy with today's results.  I still plan on the comparison of my logs successful with the logs I have pulled my former deployment TIME and see what it was that it was broken.  I think it was that wanted me a PTR record to my domain FULL DNS MS. name  I think I just had the direct search for the original bridge - will and FULL, but only a setback for the gateway domain - name.  Would explain why I was never able to connect to the gateway to access your desktop.  Oops.

    A

  • 11 elements of Photoshop crashes when sending work for my Epson printer. Epson recommends the uninstallation and reinstallation of the elements. Is the simplest and the best thing to do?

    11 elements of Photoshop crashes when sending work for my Epson printer. Epson recommends the uninstallation and reinstallation of the elements. Is the simplest and the best thing to do?

    I am pleased to be able to provide you with the right answer. It is amazing that Epson support was distraught.

  • Want to only two elements of the page without a space between them.

    I give a broader and more generic framework to an earlier application seeking a broader response.

    I want two elements on the page without horizontal between space. (Don't ask why!) One is a contant, say ' * ' so I made a single display element. The other is the label of a numeric field that is referenced in the error messages generated by the ARF.

    Call the label LABEL to make this easy. So, I want to see {noformat} * {noformat} LABEL. I don't want to change the label of "* LABEL" because ARF refers to "* LABEL" in error messages. I want to just fix the two elements on the form. This must be something easily done in the APEX, right?

    (For the initial application, see asterisk desire by a label point of page without space between. .)

    Thank you and God bless you,
    Howard

    Hello

    Just change your article networking sessions (if you use apex 4.2)

    Start the new grid: No.
    Start the new row: No.
    New section: No.

    FYI, you may need to use

    & nbsp

    in your point label to get a space

    If you use apex 4.1, I remember: new field should be no.

    Best of luck,

    Best regards
    Fateh
    -------------------
    If you think that my answer was correct or helpful to you, then please check the response as helpful or appropriate.

  • What elements of the page get included in the URL on doSubmit()?

    It's quite perplexed me.

    I have a page with 5 items on the page in a region in a table. All of them are hidden and protected.

    The page is loaded with one of these items on the page specified in the URL.

    If I use the button to delete one or more rows on the, or click on the button "Add new line", the page is submitted and returns with three of these five elements in the page specified in the URL.

    First question: why only 3 and not all 5? Why THESE three? I see no difference between one of the page elements appear in the URL submitted from that which is not.

    Second question: I've changed one of these page items to display conditionally. If a certain condition is not met, the field is never out of the page. However, EVEN THEN when I send the page using one of the buttons above, the field is included in the URL submitted! Should that even happen? That actually seems a safety hazard, unless there is something I am doing wrong.

    I can probably create a test page to apex.oracle.com if necessary. (It of now on apex.oraclecorp.com, but move it will take time because I'll have to remove some sensitive data). But I hope that it is just some easy concept to explain, I'm just not grasp.

    Thank you.
    -Keith

    Hi Keith,

    (1) check the branch. the branch defines what happened on the next page.

    (2) Yes, this is the correct behavior. condition is for rendering, but the direction is fixed.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • How can I move the button reload of the page in firefox OSX for next to the back button where it was before I updated.

    How can I move the button reload of the page in firefox OSX for next to the back button where it was before I updated.
    I know there is an addon for windows Classic theme, but I need a fix for osx... its very frustrating when you update and things like this change and can be customized to the way we are used to using the browser. his counter intuitive to have the page button refresh so far from the back and home buttons.

    never mind, I found the preferences in the addon manager... Thanks again!

  • When I return from the page of google search for a link then button does not return return

    When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.

    the problem was resolved after remooving extenshion «user agent overrider»

  • You will return the "Select an element in the page" button right in Inspector?

    The 'select an element on the page' is to the extreme left now. Since ver.32 FF. As seen in this image:
    https://MDN.mozillademos.org/files/8315/Inspector-select-element-fx32.PNG
    Change for the worse in my opinion. You will return it right into the next version? Thank you.

    N ° it is always on the far left in the current construction of 35.0a1 of Firefox.

    All Toolbox items are on the far right, including the gear button options to define what items to display.

  • Hello, I forgot my security questions, I want to change but the need for an aid station. And I do not add a post before rescue. How can I add now? Please help me. TNX.

    Hello, I forgot my security questions, I want to change but the need for an aid station. And I do not add a post before rescue. How can I add now? Please help me. TNX.

    You can not and need to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (137646)

  • ﷯Error - error message: an element on the page "News" at location 33 642 requires the pixelation, but is too large to rasterize. Resize it smaller and try again... I can't fix this or find that the line number.  How can I find this line?

    ﷯Error - error message: an element on the page "News" at location 33 642 requires the pixelation, but is too large to rasterize. Resize it smaller and try again... I can't fix this or find that the line number.  How can I find this line?

    I don't know why it worked, but I changed the police and was able to download Web site.  Thanks for your help!

  • Is it possible to get a word tend to fade and then fade out and then replace it with another word that fades in and then and so on without a person having to scroll to the bottom of the page. I searched for widgets, but I have not found one that does this

    Is it possible to get a word tend to fade and then fade out and then replace it with another word that fades in and then and so on without a person having to scroll to the bottom of the page. I searched for widgets, but I have not found one that does this impeccable for a subtitle.

    You will need to do something like it in a program like Edge animate.

  • Buy adobe photoshop and illustrator on the page but I need to reset my mac, mac reset after that I can re - download the software by which already pay?

    Buy adobe photoshop and illustrator on the page but I need to reset my mac, mac reset after that I can re - download the software by which already pay?

    If you are able you must disconnect using the program manager of clouds before resetting.  You will be able to download again after the rest if you want.

    Cloud creation help / Creative Cloud to desktop

    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Cloud creation help / sign out, sign in | Creative office cloud app

    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Cloud creation help / install, update or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

    Install creative Cloud applications

    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud.

  • Can I move master page elements to elements on the pages of the child?

    Hello

    I have a little trouble with my first website of muse. When I do the objects on the master page forward, everything works fine (even in preview mode and in the browser preview), but on other pages all the parameters of the agreement seem to have disappeared.
    The items I brought forward are covered by elements which should be behind them. Now, I have to copy most of the objects on each page's master page.

    Thnks for your help


    Best regards
    Fred

    P.S. I'll upload some screenshots of the problem as soon as possible.

    This is an expected behavior in Muse. The stacking order of elements on a master page is limited to the master page. Page master are always behaind elements in the pages of the child, and you can't "release" elements on a master to display on top page (z-order) of the elements of child pages. Currently, you must copy and paste items to display on the top on all pages of the child. This has been a frequent feature request. Please add your vote:

    Debloquer master page items on local pages

    http://forums.Adobe.com/ideas/1433

    Layers panel / order

    http://forums.Adobe.com/ideas/1444

    Best regards

    Corey

Maybe you are looking for