LOV Requery on Submit of page

Apex 4.2
I have a select list that is the child of another select list.
When the parent select list changes the child select list is updates as expected..great.
The problem is when I submit the page the query that populates the child LOV appears to be executing again , this is not needed. It slows the whole report down.
Child LOV Source
Page Action When Changes None(default)
Display Extra Values:NO
Display Null Values:YES
Cascading LOV Parent p380_depot
Optimize Refresh YES
Default All
SELECT d, r  FROM
    (/*+ RULE */
     SELECT DISTINCT
         Tour as d,Tour as r
      FROM high_profile_report
      where del_depot=:P380_DEPOT
  ORDER BY r
Why is this LOV source SQL running again on Submit Page?

Isn't it normal that every item is recalculated when you submit page?
Also if you submit page, value of parent item is submitted, so child has to be recalculated.

Similar Messages

  • Submit a page when ColumnLink is clicked

    I have a form and a report on the same page. The form contains details of a selected record and the report displays all comments specific to that record (master - detail).
    The report has a column link so that the comments can be edited. When I click on the column link, the page gets redirected (not submitted). As a result I lose all changes that I have made on the form. Is there a way to submit the page and then redirect via the column link?
    Thanks in advance,
    Ghazi

    Thanks Farhan.
    Like you pointed out, I had to use javascript to accomplish this.
    Below are the steps I did:
    1. Created a new button called EDIT2 and added branch that navigates to my desired page (instead of column link redirecting to the page it is now done via the branch).
    2. Created the below javascript
    function setCommentIDandSubmit(commentID){
    document.getElementById('P0_CID').value=commentID;
    doSubmit('EDIT2');
    This javascript assigns the ID of the selected row to a hidden variable in Page 0.
    It then submits the page with EDIT2 request.
    3. The pl/sql process that does my update was earlier tied to the APPLY_CHANGES button. I changed the condition to "Request is contained in Expression1" and the values in expression1 are APPLY_CHANGES,EDIT2
    4. Changed the column link to a URL i.e.
    javascript:setCommentIDandSubmit(#ID#)
    And it appears to work now. Every time I save the form or edit a comment, the data on the form is being saved. Can you think of any drawbacks to this approach?
    Regards.
    Ghazi

  • Lov item not visible on page

    Hi,
    In one of the seeded pages. I can't see the LOV Input Item.
    When I checked the LOV region ( from About this page link) , I can see that for that particular region the Rendered is true and inherited for the site and all other levels.
    Any pointers about ,
    Why the LOV item is not visible at all in the page
    Thanks in advance

    Hi,
    Check with the CO whether rendered property has been programmatically set as false.
    Regards,
    Gyan

  • How to submit a page and set the focus on the next field?

    Hello,
    I have a form with some fields and below this a report with a column link. If I change values in the form fields and I click the on a column link the changes in the fields are lost because the page is not submitted.
    I try this: I set on the fields in HTML Form Element Attributes the following:
    onchange="doSubmit('AENDERUNG_UEBERNEHMEN');"
    And I create a branch to the same page. This works great, I dont lost the changes in the fields and I can use the column links.
    But: If I want to walk through the form with the key "TAB" I have to press the key 2 times to come to the next field.
    How can I submit the page and go to the next field?
    Regars,
    Mark

    Hello Mark,
    how about submitting the page when the column link in the report is clicked. To do this, create a column link with an URL target and specify a target like
    javascript:doSubmit('#ID#_AENDERUNG_UEBERNEHMEN').After that I would create a process, that checks if
    substr(:REQUEST,instr(:REQUEST,'_')+1) (or something like that)
    equals 'AENDERUNG_UEBERNEHMEN'. If so, save the change, set the PK value of your target page to
    substr(:REQUEST,1,instr(:REQUEST,'_'))  (to extract the ID)
    Afterwards, create a branch that jumps to the target page.
    Hope that helps
    Stephan

  • Protect a form submit cfm page

    How else to I protect a form submit cfm page to make sure the request only comes from pages in my own site?
    So far I have this
    <cfif Not cgi.REQUEST_METHOD eq "POST">
      <cflocation url="../index.cfm" addtoken="no">
    </cfif>

    We do the following in our application.cfm:
    <cfif isDefined("FORM.fieldNames") and len(FORM.fieldNames) and NOT reFindNoCase("^(http|https)://#CGI.HTTP_HOST#/",CGI.HTTP_REFERER)>
      <cfabort showerror="Forbidden Request - POST request denied.">
    </cfif>

  • How can i submit the page periodically(scheduling)

    Hi ,
    I have created IR report by using sql query like..
    EG : select apex_application.checkbox(1,empno),ename,sal from emp;
    And i created SUBMIT button and in the process calling the procedure by using empno as a parameter.
    Here my requirement is that
    i open the page daily and checked some checkboxes and click on the submit button, procedure calling successfully..
    so, i want to submit the page for every one hour without opening the page by using scheduling in apex
    eg scheduling the concurrent program for every one hour..i want to run apex page for every one hour
    Is there any possibilities to schedule a apex page for every one hour..
    please anybody guide me to solve the problem
    Help would be greatly appreciate.
    Regards
    Narender B

    Hi,
    Thinking that you could submit page if it is not open is totally wrong.
    You need look to create background job to your database that run code similar you have on page process.
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#CIHHBGGI
    Maybe you convert your page process to database procedure so you can run it easily using e.g. DBMS_SCHEDULER or process from Apex page.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How to make a radiobutton submit the page in a report

    Hi All,
    I have report in which i generated a radio button using HTMLDB_ITEM.RadioGroup.
    now when the user selects a radio i want to submit the page.
    Any suggestions are welcomed.
    Thanks in advance.
    Message was edited by:
    user517233

    HTMLDB_ITEM.RADIOGROUP(
        p_idx              IN    NUMBER,
        p_value            IN    VARCHAR2 DEFAULT,
        p_selected_value   IN    VARCHAR2 DEFAULT,
        p_display          IN    VARCHAR2 DEFAULT,
        p_attributes       IN    VARCHAR2 DEFAULT,
        p_onblur           IN    VARCHAR2 DEFAULT,
        p_onchange         IN    VARCHAR2 DEFAULT,
        p_onfocus          IN    VARCHAR2 DEFAULT,)
        RETURN VARCHAR2;Use the p_onchange parameter to do doSubmit('SOMETHING')

  • How to Auto Submit a Page Process or Page in APEX ???

    Hi All,
    I have a requirement to auto submit a Page in my Application after a certain time interval.
    When the page is submitted I need to call a PL/SQL process to insert data in base table.
    Research Done so far: I tried achieving it by using "<PRE><meta http-equiv='refresh' content="20;f?p=&APP_ID.:15:&SESSION.::&DEBUG.::P15_TRY:R:" /></PRE>" in Page Header.
    This tag does refresh the page but also clears the value of items on the page.
    I have added a PL/SQL process that executes On-Load page header. This process does executes but by this time value of items on my page
    is cleared, so no record gets inserted in table.
    Ultimate issue is How to set the item values and Submit the page automatically at certain time interval.
    Thanks in Advance,
    Pushpendra Tomar

    I think you should use a javascript setInterval() event to re-submit your page:
    If you include something along these lines into your page's HTML header attribute:
    <script>
      dtm_timeout = 300; // you need to specify the timeout in milliseconds
      setInterval('doSubmit("FOOBAR")',dtm_timeout);
    </script>where "FOOBAR" is your request (i.e. replace with the appropriate value);
    Edited by: JoelC on 25-Apr-2010 22:23
    Whoops! missed out the quotes!

  • Select List with Submit refreshes page to top force users to scroll down

    Hello All,
    I have Dependent Select List where this functionality driving select list submit values to a subsequent select list.
    The "Select List with Submit" refreshes page where the unintended by-product is page refresh, which returns to top of page and therefore force users to scroll back down.
    In other words: I have a long form page where I have a Dependent Select List. So when you change the value of the 1st select list it refreshes the 2nd. This is all fine, but when the refresh occurs, the Form-focus returns to the top of page. This makes the users scroll back down to the lower end of the Form where they left off. This would make usability problems for users.
    Anyway we can make the Form return where to the area(Item or Region) where the user was during the selection of the Select List?
    Thanks in advance,
    Konstantine

    HURRAY!! I got it to work perfectly using anchors. I am adding this message to help future ApEx developers.
    I have been searching the Forum for 3 days and have read numerous postings. There was a lot of good discussion on anchors and linking from page to page. But, nothing exactly like my situation.
    Situation: Have a page, PG4, with a button, PG4_BUTTON, that redirects to a different page, PG7. PG4_BUTTON has its 'Display In Region' field set to PG4_REGION. When PG4 is run and the form displays, the PG4_BUTTON is located at the bottom. When the user would click PG4_BUTTON, the user would be taken to PG7. (this is good) The user enters some data in PG7 fields and then clicks a create button, PG7_BUTTON. PG7_BUTTON would submit data. An After Processing, Go To Page, Branch would be activated when this button was pressed and then the user would be returned to a refreshed PG4, at the top. This forces the user each time to have to scroll down to the bottom of PG4 to continue. (this is NOT good)
    Solution: On PG4, I edited the region, PG4_REGION. For the region 'Title' I added an anchor before the actual name. So it looked like this:
    {a name="REGION_TO_RETURN_TO"></a}PG4_REGION
    please note: where I have the curly braces above '{' '}' you need to put < the pointed and '>'
    Next, on PG7, I edited the Branch. On the 'Edit Branch' page, in the 'Action' region, I changed the 'Target type' field from 'Page in this Application' to 'URL'.
    To the 'URL Target' text area field I added this:
    f?p=&APP_ID.:4:&SESSION.::::::#REGION_TO_RETURN_TO
    So, there you have it. If you still need to read other postings, here are a couple of the sites I read:
    Re: Lists that go to items
    Re: URL target on a button.  What is the syntax??
    How to use <a name="top">Hello I'm at the top </a> tags in apex url ?
    Re: anchor or go to item from a branch
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_navigate_in_a_page-1.6.html
    http://www.echoecho.com/htmllinks.htm
    http://www.htmlcodetutorial.com/linking/linking.html
    http://www.w3schools.com/HTML/html_links.asp
    Thanks,
    Maggie

  • Where is the submit feedback page?

    How do you access the "Submit Feedback" page? All I keep getting is unrelated questions that others have posted.

    https://input.mozilla.org/en-US/feedback
    Or
    Help->Submit feedback..
    Is this what you meant?

  • CommandButton set to only call javascript, not submit the page

    Hello All,
    I have a problem with commandButton. I would like to use commandButton just to call JavaScript. When the user clicks the button, a JS function runs. My problem, is that I don't want to submit the form, right then. I leave the action and actionListener attributes out, but the command button still submits the form. Is there a better way to do this?
    Thanks,
    Grae

    IF you don't want a submit button, then why you use it?
    I mean if you want a button that calls a javaScript code then use:
    <input type="button" value="xxxx" onclick="xxx( )" />However, if you want to use a submit button (commanButton) but you want to contorl the submission based on JavaScript result fucntion then use:
    <h:commandButton onClick="return xxx( ) " ......................... />note the keyword return above, and don't forget to return ture (to submit the page) or false( to ban submission).

  • In LIVECYCLE DESIGNER how do I code a submit button to only submit one page of a multipage PDF

    I have a multipage PDF I've designed in Livecycle and have print and submit buttons on each unique form in the document. I am able to create code (which I've copied from someplace) that allows only one page to print but when I click the submit button it wants to submit the entire document.  PS - I created the Submit from the blank button and have it set to submit PDF not XML.

    I don't think you can submit just a page of your PDF like you printed just a page. The difference is that when you print, the PDF becomes dots on paper, while when you submit a PDF it must remain completely intact to be machine readable, especially since the forms on a LiveCycle (XFA) document can have complex dependencies between pages.

  • Creation of a Personalised LOV in a seeded OAF page

    Hi,
    I am trying to create a LOV item (personalised/CO extension) in a seeded OAF page.
    When I am trying to do from Create Item option of personalised page then I cannot find the option for creating the LOV mappings.
    When I am trying to create it by CO extension then there is an error that it cannot fetch the values, though I have created a customised Region with a customised LOV and by programming attaching it in the said region.
    Please suggest.
    Regards,
    Arindam.

    Hi,
    this is an Oracle JDeveloper and ADF forum. OAF has its own forum on OTN.
    Frank

  • How to submit a page and return back to originating page?

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

  • How can I submit the page from javascript in html header?

    I followed
    http://www.oracle.com/technology/products/database/htmldb/howtos/htmldb_javascript_howto2.html#client
    It says "doSubmit('Delete');" to submit the delete action.
    If I do the same in the java script that is embededed in html header, it does not work.
    I am assuming 'Delete' is the name of the button here.
    I also tried:
    document.forms[5].submit(); --> does not work
    document.formname.submit(); --> does not work
    I want to know:
         how I get the form name. I am assuming that this is the name in Name field in "Page definition" or is this page number?
         how to sumit a form from the javascript in html header

    sudheshna,
    function deleteConfirm(msg)
    should be
    function Confirmdelete(msg)
    cheers
    KIM

Maybe you are looking for