I am having problems using javascript:confirmDelete

I have two pages created by the wizard, a report with a form. As you all know you view a list of records on the report then click the “Edit” button and it calls the form to edit the individual row. I have made a change to the action of these two pages. When you are on the report page and click “Create” you are moved to a blank form page. Once you have entered your new record you click “Create” and the row is saved. By default you are then moved back to the report page. The same this happens when you “Apply Changes” or “Delete”. My problem is that I have altered this behavior to return you back to the form and the record you just created or edited. This was done by editing the “Go to Page” branch created by the wizard to go to the form page rather then the report page. I also set the “Return Key into Item” in the “Automatic Row Processing (DML)” process to the page item containing the primary key value. This all works as I would like it to except for “Delete” it tries to come back to the form page and gives a “No Data Found” error. I would like it to just return to a blank form page or even go back to the report page. I do not know how to change or intercept the page the “Delete” button sends you to when it is set to use the URL javascript:confirmDelete.
I am using: Application Express 2.2.1.00.04

Chris - You need to create a branch on the page that goes back to the report page when button pressed is DELETE (Delete). Give this branch a lower sequence number than unconditional branches on that page. If you look at the HTML source of your form page you'll see < a href="javascript:confirmDelete(htmldb_delete_message,'DELETE');">Delete< /a> for the delete confirmation message confirmation action. If you check the javascript function confirmDelete, I think you'll see that it submits the page using the second argument ('DELETE' in your case) as the request.
Scott

Similar Messages

  • Having problems using ion tape express with itunes cannot find the song on hard drive

    Having problems using ION tape express with itunes.  The song is on hard drive as temp1 not the name of the song.  And I have problems playing it in itunes
    because it says it cannot locate the song'

    Then correct the name of the song or point iTunes to the new file.
    Issues with restoring should be directed to the manufacturer of the backup software/device... this is not an Apple or iTunes issue.

  • I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    When clips won't play without rendering in the Timeline, it usually means that the clip's specs don't match the Sequence settings.
    A .mov file could be made from any number of codecs; the QuickTime Movie designation is merely a container for video files of all kinds.  Since FCE only works with the QuickTime DV codec and the Apple Intermediate Codec (AIC) natively, if your mov files aren't one of those two, you need to convert them PRIOR to importing into your FCE project.
    -DH

  • I am having problems using my Apple TV. I get a message saying incorrect user id or password, but I am able to sign in everywhere else. Any suggestions? Thanks.

    I am having problems using my Apple tv with home sharing. I continuously get a message that my user name or password is incorrect, but it works on other devices. Any help would be greatly appreciated.

    Unpower it.  If it still  happens on a restart give it time - Apple's servers sometimes have glitches.

  • I have recently been having problems using Firefox: it continually gives a "Not Responding" message.

    I have been having problems using Firefox for the past few months:
    Whenever I log on, I get a "Not Responding" message, and Firefox "freezes." I then have to "click" my mouse several times to again be able to use Firefox - but only for a few minutes. Firefox then freezes again and shows another "Not Responding" message.
    Because of this repeated "crashing," I have been using I.E. as my browser, because it does NOT have any such problems.
    How can I FIX this problem with Firefox?

    Many site issues can be caused by corrupt cookies or cache.<BR><BR>
    Clear the Cache<BR>
    '''''Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"'''''
    <BR><BR>and<BR><BR>
    Remove Cookies<BR>'''''Firefox/Tools > Options > Privacy.'''''<BR>
    Under '''History''', select Firefox will '''Use Custom Settings'''.<BR>
    There is a button on the right side called '''Show Cookies'''.<BR><BR>
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode; '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.<BR>
    Poke around safe web sites and see if there is still a problem. Then restart.

  • I am having problems using my iphone4 during calls. When any part of my facial skin touches the screen, it would either go mute, hold, speaker or whatever part my skin accidentally touches the screen.The other caller then cant hear me

    I am having problems using my iphone4 during calls. The screen does not automatically lock to prevent any part of my skin or face from touching it. When my skin touches the screen it would either go mute, hold, divert to speaker phone or calls another in my contact list. The person i'm talking to then cannot hear me suddenly when in mute or hold. Is there any application for my iphone4 like a "screen lock" when it is being used on calls?

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • I am having problems using Firefox with Ebay in the last 10 days. The advanced search link is dropping off the page and there is no way to access it now.

    I have been using Firefox and Ebay for at least 12 years with no problems whatsoever. But in the last 10 days I have been having trouble with the Advanced Search link disappearing from the page on Ebay. If I do a search from the Ebay home page it will show the results, but the Advanced Search link (in blue letters) which always used to appear to the right of the Search button is gone. If I click Search again at this point I can see the Advanced Search link appear for a millisecond, but then disappear just as quickly. Also, if I refresh the page the same thing happens. I tried to duplicate this problem with Internment Explorer and it didn't occur, so it appears to be Firefox that is causing this issue. Of course when I contacted Ebay they told me my problem was that I wasn't using Internment Explorer! I love Firefox and do not want to switch!

    You can try to clear the cache and cookies to see if that makes a difference:
    <h3>Clearing Cache</h3>
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    <h3>Clearing Cookies</h3>
    #Go to Firefox > Tools > Privacy > Remove Individual Cookies
    #Find the site (ebay.com) that's having problems and clear all cookies.
    #Restart Firefox
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.

  • Problem using javascript to submit jsf form, values not submitted

    Greetings!
    I have a t:selectOneMenu where I want the page to be submitted when they change the selected value. At this point, I am able to get the form to submit and reload the page, which is all fine. The problem is that none of the values from the page are not set in the backing bean. I have break points on the setter methods that are not being hit.
    I have tried a number of things from searching multiple forums, but here are snippets from my latest version...
    <h:form>
    <t:commandLink id="hiddenLink" forceId="true" value="test link"
    action="#{pc_PageX.doBtnHiddenLinkAction}"></t:commandLink>
    <t:selectOneMenu id="pageList_top" forceId="true" value="#{pc_PageX.ValueX}"
         onchange="jspellSync(); submitPageX();">
         <f:selectItems value="#{pc_PageX.ListX}" />
    </t:selectOneMenu>
    </h:form>
    function submitPageX(){
         var hiddenLink = document.getElementById("hiddenLink");
         hiddenLink.click();
    }Note that the <t:commandLink> is not hidden, though it will be in the final version if I can get this to work.
    If I click the commandLink myself, the page is submitted with all the page values as expected. If I change the list value, thus using javascript to fire the commandLink's click event, the page is submitted with NO values.
    Can anyone come up with an explanation for this behavior? Or better yet, a solution?
    A couple other things I've tried...
    - Not using a commandLink and using jsf's submit function -> onchange="jspellSync(); submit();"
    - Clicking the link using other ways -> hiddenLink.fireEvent('onclick');
    If all else fails, I'll just add a button that they have to click to submit the form.

    snotmare wrote:
    BalusC wrote:
    I recall this problem in one of the ancient JSF versions. Which JSF version do you use? Do you have any room to upgrade to latest? We're using an IBM implementation of JSF, which is at version 7.0. The IBM implementation appears to be built on the JSF base 1.1.That's not an IBM JSF implementation, they do not have any one, they just have some component libraries which runs on top of some JSF implementation. RAD/WSAD ships by default with Sun JSF RI. Try upgrading to at least 1.1_02 which you can download from the aforementioned link. There's a gap of 2 years (and inherently a lot of bugfixes) compared to 1.1. If the application server used supports Servlet 2.5, you could even upgrade to the latest 1.2.
    We've had other issues with the IBM implementation, which could be the cause in this case too. We've been talking about switching to MyFaces, but there is one feature of the IBM version that we like. It's basically a script collector (hx:scriptCollector) that allows us to do pre-processing on the page.As said before, IBM does not have a JSF implementation. So replacing RI by MyFaces wouldn't make any difference.

  • Having problem using internet via wifi

    i m facing a problem using wifi... whenever i connect 2 any wifi network and start the browser it always shows" no internet connection".... can anybody help me regarding the issue????

    Hi sunny786pandit
    Welcome to BlackBerry Support Forums
    Please go through those Article :
     How to connect to a Wi-Fi network using a BlackBerry smartphone       and 
    KB13368 : Services that are available over a Wi-Fi connection
    I hope it helps.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Having problems using facetime for ipods. When i sign in and click next it goes back to the sign in screen ? what do i need to do

    Having problems with facetime on the ipod. When i sign id and click next it goes back to the sign in screen. Any ideas ??

    Have ou tried here:
    iOS: Troubleshooting FaceTime
    Also try resetting the iPod. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • Having problems using my printers when using the OS Lion

    Hi, can anyone assist me as I am having problems with the Lion OS, somehow I can't print on my Epson nor in my office on the Canon printer. I have updated the system with the latest printer drivers as well.
    Cheers

    Have you tried deleting and re-adding the printers?
    What happens when you try to print? How are the printers connected? Please provide more information about the problems you're having with each driver.

  • Anyone having problems using non-apple mains charger with Classic?

    I have 2g nano which works fine with my generic ipod charger. I'm about to upgrade to an 80gb Classic. Anyone have any problems using these?

    xavierlopez wrote:
    I found this "recipe" in a another forum and it worked!
    a) Disconnect all your devices from icloud (ipod, iphone, mac, etc.)
    b) Reset and CHANGE your Apple ID password
    c) Reconnect all devices
    and Voila!
    Voila what?
    Unless you put the new password in all devices they won't reconnect.

  • Is anyone having problems using AAMEE to create CS5.5 deploy packages?

    I am able to create a deploy package without an issue. SN gets verfied so I know its not that eventhough it's getting the pre-chrome license error in the log files.  I looked at the directions that Adobe gives for the pre-chrome error and the only way I can do a silent install is by enabling the built-in Administrator account, logging to that account and running silent command from there.  Thats really not a fix when you have 10,000 computer to deploy to.  Anyone have the workaround for this?

    Thank you! But I've tried that already and still I'm having problems, Apple support has been looking into it, but so far nothing. Thanks again

  • Having problem using BULK COLLECT - FORALL

    Hi,
    I'm facing a problem while setting a table type value before inserting into a table using FORALL.
    My concern is that i'm unable to generate the values in FOR LOOP, as by using dbms_output.put_line i observed that after 100 rows execution the process exits giving error as
    ORA-22160: element at index [1] does not exist
    ORA-06512: at "XYZ", line 568
    ORA-06512: at line 2
    I need to use the values stored in FOR LOOP in the same order for insertion in table TEMP using FOR ALL;
    I'm guessing that i'm using the wrong technique for storing values in FOR LOOP.
    Below given is my SP structure.
    Any suggestion would be hepful.
    Thanks!!
    create or replace procedure XYZ
    cursor cur is
    select A,B,C,D from ABCD; ---expecting 40,000 row fetch
    type t_A is table of ABCD.A%type index by pls_integer;
    type t_B is table of ABCD.B%type index by pls_integer;
    type t_C is table of ABCD.C%type index by pls_integer;
    type t_D is table of ABCD.D%type index by pls_integer;
    v_A t_A;
    v_B t_B;
    v_C t_C;
    v_D t_D;
    type t_E is table of VARCHAR2(100);
    type t_F is table of VARCHAR2(100);
    v_E t_E := t_E();
    v_F t_F := t_F();
    begin
    open cur;
    loop
    fetch cur BULK COLLECT INTO v_A,v_B,v_C,v_D limit 100;
    for i in 1 .. v_A.count loop
    v_E.extend(i);
    select 1111 into v_E(i) from dual;
    v_F.extend(i);
    v_F(i) := 'Hi !!';
    ----calculating v_E(i) and v_F(i) here----
    end loop;
    forall in i in 1 .. v_A.count
    insert into table TEMP values (v_E(i), v_F(i));
    exit when cur%NOTFOUND;
    end loop;
    close cur;
    end;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    -------

    The problem is that inside the IF ELSIF blocks i need to query various tables..As I thought. But why did you concentrate on BULK COLLECT - FORALL?
    The cursor whereas does take more time to execute.More time then?
    We have join of two tables have 18,00,000(normal table) and >17,92,2067(MView) records, having inidex on one the join column.
    After joining these two and adding the filter conditions i'm having around >40,000 >rows.? You have a cursor row. And then inside the loop you have a query which returns 40'000 rows? What do you do with that data?
    Is the query you show running INSIDE the loop?
    I guess you still talk about the LOOP query and your are unhappy that it is not taking an index?
    1. The loop is NOT the problem. It's the "... i need to query various tables"
    2. ORACLE is ok when it's NOT taking the index. That is faster!!
    3. If you add code and execution plans, please add tags. Otherwise it's unreadable.
    Try to merge your LOOP query with the "various tables" and make ONE query out of 40000*various ;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I am having problems using Numbers package, unable to add specific cells in a column, when I tap "sum" it totals the whole column, rather than the specific cells I want. Would appreciate any help. Thank You Francis

    I am having a problem with adding selected numbers in a column. When I select "sum" the whole column is added, not just the selected cells. I would appreciate any help how to rectify? Many thanks. Francis Anthony

    I don't know if this is the best way but it's pretty easy.
    1.) Select the cell you want the sum in.
    2.) Select the sum function
    3.) In the line where you see =sum(B2:B8) using your finger tap the B2:B8
    4.) Use the backspace key to delete the B2:B8 and it will then show "value"
    5.) You can now tap any cell you want in the sum
    6.) When finished tap the green check mark button at the end of the sum line.
    That pretty much sums it up.
    Good luck.
    Steve

Maybe you are looking for

  • How do I transfer photos from 'iPhoto Library' to external HD?

    Hello everyone.  I have an iPhoto back up question for you all.  I've recently had severe troubles with my 2010 21.5 inch iMac.  After an OSX update, the system suffered all kinds of problems, and I am unable to even open the majority of my apps with

  • Select option in select list and navigate to different page

    Hello, I have a tabular form.One of the item is a select list with 2 options. Selecting option one should take the user to page10(just an example) and display all the values of that particular row. Similarly selecting option 2 should take the user to

  • Address book "List" no longer sends .. have screenshot to show error

    I have been using "Lists" in my address book to send multiple emails. There must have been an update recently since I can no longer get the lists to work (any of them) and I get an error I have never seen before, nor understand what I can change to u

  • How do we add a new field in BI 7

    Hi Experts, Can any one help me how to add a field in the transformation. example EMP ID EMP_Name EMP_SAL NOW i need to ADD one more field called <b>EMP_PLAC</b> in the transformation , i have added the field in the data source and activated but i ca

  • Error when trying to merge two files

    Hi I am working with the scenario merging two file using Fork and join construct ie using bpm  I have struck with an error  I have mentioned the error below Unable to deliver event 'Received' of object Error handling for work item 000000001197 Parsin