Avoid Page Submit

Hi,
I have an updateable tabular form. In that I have a hidden column. I also have a select list item based on which the tabular field filter is set. I have used select list with submit. So whenever the data is changed in the select list a submit event occurs and the data in the tabular form is filtered based on the the select list value. Also the page is reloaded. Is it possible to achieve the same functionality without page load ?
Thanks in advance
Bhavesh

Use AJAX,
Carl has done all the work for you check this
http://apex.oracle.com/pls/otn/f?p=11933:37:1994111671076957::NO:::

Similar Messages

  • Avoid double submissions

    Hello all,
    In my custom page, to avoid double submissions, i'm using the below code but i can still see my cursor available for double submission. Below is my code. please check.
    //logic to make the submit button disable on a click of the submit button in the page
    OAWebBean body = pageContext.getRootWebBean();
    if(body instanceof OABodyBean)
    ((OABodyBean)body).setBlockOnEverySubmit(true);
    //End of logic to make the submit button disable on a click of the submit button in the page
    Thanks for the help
    KK

    KK,
    I am sure this code in the ProcessRequest starting,
    Have you checked in IE Browser(6 or 7).
    One more way is you have to start the transaction UnitHelper when you start the process, after you commit the trasaction you have to end the helper.
    And you can check the transactionUnit is ended in your PFR.
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    static void      endTransactionUnit(OAPageContext pageContext, String transactionUnitName)
    Ends a transaction unit by removing the transaction-in-progress indicator for the given transaction unit name.
    static boolean      isTransactionUnitInProgress(OAPageContext pageContext, String transactionUnitName, boolean isTransactionParticipant)
    Returns whether a transaction unit is in progress by checking the existence of a transaction-in-progress indicator for the given transaction unit name.
    static void      startTransactionUnit(OAPageContext pageContext, String transactionUnitName)
    Starts a transaction unit by registering a transaction-in-progress indicator for the given transaction unit name.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • Error-Message "Item not defined on current page" after Page submit - AJAX

    Hello,
    a lot of subpages (regions) are loaded over htmldb_get and displayed on a master page.
    The parts loaded over AJAX are reports. The report regions of these reports contain a hidden and protected field, which hold the page number (&APP_PAGE_ID.)
    This was necessary because I had to overwrite the standard pagination function $a_report on the master page. Otherwise the standard pagination function uses always the page number of the master page and not the page number of the loaded subpages. The overwritten function $a_report is placed in the master page header and searchs for the hidden + proteced field, containing the page number of the loaded subpage.
    This works already fine.
    But after submitting the master page with before loaded subpages over htmldb_get, I get following error message:
    Error Item ID (15348310159873659) is not an item defined on the current page .
    Setting the hidden + protected field on the subpage to never display, the error message disappear, but the pagination function doesn´t work any more.
    Where is the mistake I made?
    Greetings
    Michael

    Hello Ben,
    yesterday evening I read in short your answer, but today I can´t see your answer. Have you edited it again?
    My pagination function works fine and I would maintain it if possible.
    But now a new feature is requiered, which require a submit on the master page. The submit on the master page is not possible due to the hidden field on the loaded subpage, containing the page number for the pagination function.
    Using a normal text field (not saving state) works as long as the text field is visible (condiational view != never). But this information shouldn´t be visible to the user.
    I thought, perhaps a cleanworkaround exists.
    As dirty workaround I could place the information about the actual page number in the report themself (static invisible column). But as soon as the column is invisible (not shown), I have no access on this value
    With a normal hidden html-input-element (not a APEX-Item) in the report regions header of the subpage, holding the page number, I get a http 400 error on page submit.
    An I-Frame is not really a solution, because the master page contains several subpages, which should only be loaded and displayed on demand and not immediatly on page load.
    Greetings
    Michael
    Edited by: user6044915 on 31.03.2009 00:27

  • Page item value set in app process not maintained after page submit

    Hi -- I have a sequence of events that goes like this:
    1) Page 0 region REG_1 is rendered before footer
    - Region REG_1 uses javascript / AJAX to call App process PROC_1
    - PROC_1 sets Page1 item PAGE1_MESSAGE to X
    - After PROC_1 executes successfully, REG_1 does doSubmit()
    2) Page 0 region REG_2 is rendered before footer; this happens
    after the page submit done by REG_1. (Conditions ensure that
    REG_1 is not rendered again)
    - Region REG_2 displays PAGE1_MESSAGE (=X) in an alert.
    - Region REG_2 uses javascript / AJAX to call App process PROC_2
    - PROC_2 sets Page1 item PAGE1_MESSAGE to Y
    - PROC_2 sets Application item DEBUG to PAGE1_MESSAGE (this is for debugging)
    - PROC_2 sets Application item APP_MESSAGE to Y (this is also for debugging)
    - After PROC_2 executes successfully, REG_2 does doSubmit()
    3) After REG_2 submits the page, here's what I have:
    - Application item APP_MESSAGE = Y. Good. This is what it was set to in PROC_2.
    - Page 1 item PAGE1_MESSAGE = X. Bad. This is what it was set to in PROC_1.
    - Application item DEBUG = Y. Good. This at least shows that PAGE1_MESSAGE was
    set to Y within PROC_2... but for some reason that value is not being preserved
    after the app process is done executing.
    - There are several other application items set in PROC_2, and they're all correct.
    Any ideas as to why this is happening? It seems like this should be
    pretty straightforward: set the value, submit the page, the value should be what
    I set it to.
    Thanks,
    Carol

    Hi -- Thanks for the suggestions. First and 3rd (default value, or being overwritten by process or computation) aren't happening. The source for PAGE1_MESSAGE having is Always, Using app item PAGE1_MESSAGE... but I don't see what else could work here. Not sure if that's the problem.
    I've put an example on apex.oracle.com. Workspace is dew_mir_tor. Username is [email protected]. Password is Mir97Dew77!Tor. Application is 22679, RefreshAllTest.
    To reiterate the description in my original posting, but using the real application item/region/process names:
    0) Press Button REFRESH_ALL on Page 1. This branches back to Page 1.
    1) Page 0 region Refresh_All is rendered before footer
    - Region sends up an alert to show you it's working
    - Region Refresh_All uses javascript / AJAX to call App process REFRESH_CZAR (You'll see a "wait" window flash up briefly while the app process is running)
    - REFRESH_CZAR sets Page1 item P1_MESSAGE_1 to X (The text here indicates where
    the value is being set and when it should be displayed)
    - After REFRESH_CZAR executes successfully, region Refresh_All does doSubmit()
    2) Page 0 region Refresh_Non_Czar is rendered before footer; this happens
    after the page submit done by Refresh_Czar. (Conditions ensure that
    Refresh_Czar is not rendered again)
    - Region sends up an alert to show you it's working
    - Region Refresh_Non_Czar displays P1_MESSAGE_1 in an alert.
    - Region Refresh_Non_Czar uses javascript / AJAX to call App process REFRESH_NON_CZAR (You'll see a "wait" window flash up briefly while the app process is running)
    - REFRESH_NON_CZAR sets Page1 item P1_MESSAGE_1 to Y (The text here indicates where
    the value is being set and when it should be displayed
    - REFRESH_NON_CZAR sets Application item TEST_VALUE2 to P1_MESSAGE_1 (this just shows that P1_MESSAGE_1 was indeed set to Y in this process...)
    - After process REFRESH_NON_CZAR executes successfully, region Refresh_Non_Czar does doSubmit()
    3) After Refresh_Non_Czar submits the page, Page 0 region Display_Messages is rendered.
    It sends up an alert so you can see it's working, and then it displays the value in P1_MESSAGE_1.
    The value is still the one that was set in REFRESH_CZAR, not the one set in REFRESH_NON_CZAR.
    Note that Display_Messages sets P1_MESSAGE_1 back to null, so you won't see it in session state after it's displayed in the alert. But you can see that TEST_VALUE2 is set to the message from REFRESH_NON_CZAR.
    Hope this helps solve the problem!
    Thanks,
    Carol

  • Interactive Report - Go button perform a page submit?

    Hi,
    Is it possible to obtain a normal page submit when the Go button in Interactive Report is submitted?
    I would like a normal page submit as this is the reliable way to have my different check boxes and select lists saved. These checkboxes and select lists act as bind variables in the IR query, and I do not get reliable results without the page submit. You may for instance experience that the report output looks ok according to your selections, but when you then download to excel, the report content reflects the true session state values.....
    Alternatively is it possible to remove/hide the Go button? I could then add a normal button to perform the page submit. I just do not like to confuse my users with two buttons..... for the same purpose....
    Best regards,
    Jesper

    Hi,
    With jQuery you can easily change that button attributes.
    E.g. set button to submit page, add below to page HTML header
    <script type="text/javascript">
    $(function(){
      $('.apex_finderbar_left .formlayout td input[value="Go"]').removeAttr("onclick");
      $('.apex_finderbar_left .formlayout td input[value="Go"]').bind('click',function(){
        doSubmit('MYREQUEST');
    </script>If you like hide button, add to page HTML header
    <script type="text/javascript">
    $(function(){
      $('.apex_finderbar_left .formlayout td input[value="Go"]').hide();
    </script>Remember load jQuery javascript library also.
    Here is one guide how install jQuery
    http://www.danielmcghan.us/2008/06/jquery-in-application-express.html
    Br,Jari

  • How to avoid page break up in background

    hi all,
              i have developed new report i don't given page break statement .. in foreground it s coming correct  without any page break..
    when i have  schedule in background page break is coming please let me know how to avoid page break in background process.
    regards ,
    santosh
    Edited by: santosh jajur on Jul 8, 2009 12:16 PM
    Edited by: santosh jajur on Jul 8, 2009 12:46 PM

    Hi,
    When you view the output from the report run in batch you are presumably looking at the spool output.  Because you are viewing a preview of what is sent to the printer the spool applies page breaks based on the printer parameters.  When you run the report in dialog you view the report on the screen, and the spool is not involved, so no page breaks.
    If you print your report in dialog then review the spool you'll find it has the page break just as the background run has.
    Regards,
    Nick

  • How to avoid page break in row other that the option "Avoid page break"

    Hi Experts
    Is there any way to avoid a row to be broken or extended to other page. "Avoid page break" option can not be used as it creates a lots of white spaces.
    Regards
    Sourashree

    If it is related to visibility you can choose Draft Mode or change the Page size.

  • Trigger a full page submit when row change in table

    Hi All
    Is it feasible to trigger a full page submit when row change in a table? the selection behavior in table only trigger a partial page submit to server.
    Currently i am working on a page to export as portlet and it's need a full page submit for IPC. anyone have ideas?
    see the related issue detail thread in WebCenter forum: Interprotlet communication issues
    Edited by: Gerry on 2011-6-22 下午6:08

    Hi,
    you can override the SelectListener to point to a managed bean method that uses a JSF MethodExpression to preserve the default configured functionality. You then issue a redirect
       FacesContext fctx = FacesContext.getCurrentInstance();
       ExternalContext ectx = fctx.getExternalContext();
       String viewId = "... add viewId...."  //WebCenter ViewId to redirect to
      ControllerContext controllerCtx = null;
      controllerCtx = ControllerContext.getInstance();
      String activityURL = controllerCtx.getGlobalViewActivityURL(viewId);
      try{
        ectx.redirect(activityURL);
        } catch (IOException e) {
        }Frank

  • Problem with page submit and opening a popup.

    Hello All,
    Apex 3.1.2
    I have a button that submits a page and opens a pop-up. I'm new to javascript so I'm really hacking my way through this, so syntax tips are very useful :)
    I'm using the code below on the button, my popup opens but then my main page seems to refresh and immediately covers up the popup. How do I get the popup to stay in front of the main page? Is there a problem with my main page submit?
    Here's my URL target for the button...
    javascript:doSubmit('ADD_TO_GROUP');javascript:popUp2('f?p=&APP_ID.:2:&SESSION.::::P2_OPPORTUNITY_NUMBER: &P6_OPPORTUNITY_NUMBER.');
    Thanks Much!
    p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
    Edited by: blue4speed on Mar 24, 2011 8:33 AM - added p.s.
    Edited by: blue4speed on Mar 24, 2011 9:34 AM

    ThomasL wrote:
    p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
    --> Are your on/after submit processes conditional?
    For the javascript, you could also try to put the javascript code into an html region of your page, with condition set to a REQUEST value, or the value of an item that you set on submit.It looks like what's happening is the page is branching back to itself and that's why my the popup is pushed to the background. I created a conditon on the branch that said request != "ADD_TO_GROUP" (my button request). This kept the focus on my popup but gave me the error that the page had no branch!
    How do I get my main page to submit and the popup to appear IN FRONT of the main page?
    Thanks!
    Edited by: blue4speed on Mar 24, 2011 10:16 AM

  • Is it possible in a before-page-submit dynamic action to cancel processing?

    I have a page where when the user submits, I check certain conditions and prompt the user with a confirmation ("are you really sure you want to submit this...?") and if they press OK (javascript true) continue to submit as normal, else (javascript false) the page should stop submitting.
    I know I can do this by putting Javascript code on whatever buttons I need to such that they're prompted from whatever appropriate button but I then thought it might be more elegant to just put it in one place in a before-page-submit DA.
    So I figured that in my DA for a before-page-submit I'd try explicitly returning true or false thinking that I returned true it would continue to submit but if false it would stop submitting. Unfortunately no dice.
    Example:
    Dynamic Action
    Before Page Submit
    Condition (Javascript Expression): (this.data=="SAVE")||(this.data=="MULTI_ROW_DELETE")
    var response=checkPbcDml();
    alert(response); //for debugging and I do properly get true or false back
    if(!response)
      return(false);
    else
      return(true);So I'd like return(false) to stop the submission process (was only guessing that it'd work, and it doesn't). Is there any other javascript command that I could execute to cancel the submission processing?
    Yes I know that I really can do this on my buttons and it'll work...
    javascript:if(checkPbcDml())apex.confirm(htmldb_delete_message,'DELETE');
    javascript:if(checkPbcDml())apex.submit('SAVE');...but was just hoping to do something in the DA as a matter of elegance to put code in one place rather than two places.
    Edited by: gti_matt on Jun 14, 2012 10:30 AM

    trent wrote:
    Personally, I'd just try to utilise the confirm action - probably achieved by incorporating the checkPbcDml() function into the dynamic action condition, at the sime time you are checking the request value.Aha! That's it.
    The "Confirm" DA action's OK/Cancel response is evaluated by the "Before Page Submit" and cancels the processing.
    What I did was:
    1. Looked at my old function's conditions:
    function checkPbcDml()
      if (($v('P265_FREEZE_FLAG')=='Y') && ($v('P265_PUR_MFG')=='M'))
        return(true);
      else
        return(confirm("Part Bid Categories information will only be saved from this page for frozen &F182_MAKE_TEXT. parts.\nDo you want to continue with this action anyway?"));
    }2. Appended them to the existing DA conditions that were evaluating the save or multi-row-delete request:
    ((this.data=="SAVE")||(this.data=="MULTI_ROW_DELETE")) && (!(($v('P265_FREEZE_FLAG')=='Y') && ($v('P265_PUR_MFG')=='M')))3. And created a Confirm action with that message text and removed my checkPbcDml() function.

  • To avoid multiple submit clicks

    Hi all,
    Need your help, in avoiding multiple submit clicks in HTMLB.
    Thanks in advance.
    Regards,
    Gangadharayya.

    Hi,
    This can be done by setting the button in "Disabled" state once it is clicked. This can be done by calling a java script function on the "onClientClick" event which sets the state of the button to disabled state.
    Add a similar function like this in your JSP, and do the appropriate changes, it should work fine.
    function Process(){
    var myID = htmlb_formid+"_getHtmlbElementId";
    myFunction = window[myID];
    var myButton = eval(myFunction("/* Your Button's ID */"));
    myButton.setDisabled();

  • Date Picker null after page submit

    Hi,
    I have created an application with two regions. On one region a select statement displays the list of employees with their employee id's. On other region there is a select statement which shows the leave detail of every employee using range of date on where clause of select statement. Two date picker items are created on region one. when a name of employee is clicked on region one the employee id of that employee uses select statement in second region and its information should display. It is working well without date range. when I use dates in where clause it shows no data because date pickers goes null after page submit. Page is branchig to same page.
    I am not able to resolve why date pickers goes null.
    Oracle Database 11G
    Apex Version 3.0
    Sajjad

    In region one select statement retreives employee id's and there is also search item on region one searching employee names and it retain the value. but date pickers having same setup that you mentioned dos'nt retain values. If they retain values my problem will solve.
    When cliked on employee id select statement should execute using employee id and date picker values on another region on same page.

  • APEX 4.2 bug with mobile page submit action

    Hi,
    I am using the APEX 4.2 mobile theme which has a "Select List" page item and where the "Page Action when Value Changed" is set to "Submit Page". The submit works when the values are in pull down but when the values come from popup window then it does not.
    Thanks, Timo

    Hi Timo,
    thanks for letting us know. It's a known issue (bug# 14680379) on our Known Issues List at http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-42-known-issues-1863578.html
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Avoid page break in back ground execution of report

    Hi Friends,
    Normally when we execute any report in back ground it will have page break. eg: FL3N
    But we dont see this in foreground execution of a report.
    may i know how to avoid this page break when we execute in background.
    Thanks in advance
    NNS

    Hi Badari,
    when you set the Background Job via <b>SM36</b>, you can mention the Variant. and set the time , so that the report will run for every 5 minutes with the mentioned variant. Check it.
    Regards
    Vijay

  • How to keep up the session state values uncleared after page submit

    hi,
    i am using Application Express 4.0.2.00.07
    and 11g
    i have created a tabular form manually useing apex_items.
    select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           rstag as "RS tag",
           *apex_item.text(2,null) as "FS Name"*,      --"fsname" and "fstag" are not columns of this table(pli)
           *apex_item.text(3,null) as "FS Tag"*
    from pli where pid = :P17_PID
    order by line_item_no deschere on submit, data gets inserted into the another table(fli),(whixh contains all these columns)
    after the page is submitted it returns to same page,
    i want the apex_items's text fields to retain the submitted values after returning to the same page
    can you tell me how to achieve this.
    thanks,
    Little Foot

    hi,
    can you help me to use this collections,
    i have created a collection processdeclare 
      la_cks wwv_flow_global.vc_arr2;
    begin
      htmldb_collection.create_or_truncate_collection('UPDATEE');
      htmldb_collection.create_or_truncate_collection('INSERTT');
      for i in 1..htmldb_application.g_f01.count
      loop
        if htmldb_application.g_f01(i) is not null then
          htmldb_collection.add_member(
              p_collection_name => 'UPDATEE',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        else
          htmldb_collection.add_member(
              p_collection_name => 'INSERTT',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        end if;
      end loop;
    end;            then when creating a report on collections i am unable to proceed,
    in sql report i used select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           nvl(rstag,APEX_ITEM.text(7,null)) as "RS tag",
           apex_item.text(2,'klklk',null,null,' readonly="readonly" ') as "FS Name",
           apex_item.text(3,null) as "FS Tag"
          from htmldb_collections
    where collection_name = 'UPDATEE'says rstag invalid indentifier...,
    can you tell me how to use this collections to achieve my purpose.
    i tried http://www.oracle.com/technetwork/developer-tools/apex/tabular-form-090805.html
    so i need to use collections in this way only...!
    can i make collections to just collect values from two columns and then put those values to the respective rows in their columns...!!!
    guide me to achieve my requirement.
    Thanks,
    Little Foot
    Edited by: Little Foot on May 10, 2011 5:00 AM

Maybe you are looking for

  • How to make a control to let the user to select a type of line?

    Dear All, I want to make a control to let the user can select a type of line from some types. Just like selecting the line type of plot in the graph. Is there any good way to do it, or is there any examples? Thank you.

  • How do I delete all previous recipient suggestions...

    When I compose an email and start typing in the TO line, a huge list of previous recipients shows up. They're not emails in my contact list. How do I delete this list of suggestions?

  • Adobe CC Apps won't download on Windows 8

    Hi, idk if anyone has posted this, but Adobe Creative Cloud Apps will not download on my laptop. All I get is an error message due to internet conncetion, but my laptop is connected to the internet. I've tried turning of all firewall, that still didn

  • How to enable password expiry and refresh

    Hi, I have configured a new security realm on weblogic9.2 server. I also configured a custom authentication provider. We have a requirement that after a configured period of time, the password should expire. Is there any configurable parameter that a

  • For god sakes man

    Release this phone. Why not have 4-5 android phones u can't get.