How to display a confirmation message before deleting

Hello

I have a request and I want to display a confirmation message before people delete a record.

The button on page 42 is number 90 'delete this card '. This is a shipment as 'DELETE_ALL '. I saw that the buttons remove are redirects to the url javascript:confirmDelete(htmldb_delete_message,'DELETE'). but I can't use it because my button is not a redirect, but a shipment.

http://Apex.Oracle.com/pls/OTN/f?p=4550
Workaspace: ESPACE2008
User: guest
password: acdc2009
Name of the application's activities

Thank you for your kind replies.

Christian

Hi Christian.

You can use the same logic for your own processing logic.

the syntax is...

javascript:confirmDelete(htmldb_delete_message,'YOUR_PROCESS_NAME');

Replace "YOUR_PROCESS_NAME" with the name of your page process that manages the deletion block. Don't for get the quotes either side of your process name.

I hope this helps.

Simon

Tags: Database

Similar Questions

  • How to get the confirmation message when I press the button Delete?

    Hai,
    I want to display a confirmation popup before you delete the line.

    I created an Entiity object and a view to EmpTable... object and drag and drop the button Delete.
    I want to show a confirmation message that "you want to remove?
    If the user clicks OK, the data must be deleted... or not... I'm using JDeveloper 11 g

    You can use a popup for this. Put a component showpopuupbehavior on the delete button to display a popup.
    Article 13 of the web developer guide here shows how proceed.

    Timo

  • How to create a confirmation message

    Hello

    Can you tell me what are the steps to create a confirmation message when the user clicks a specific link!

    Thank you

    If you add that to a button, create you a 'Redirecrt to the URL"button and add it to the"URL target ":

    javascript:apex.confirm('Are you sure you want to delete this record?', 'DELETE');
    

    If you use a link then you can do it like this:

    <a href="#" onclick="apex.confirm('Are you sure you want to delete this record?', 'DELETE')">your link
    

    Such a question was answered dozens of times in this forum. A simple search would lead you to several solutions. Use this forum to search before posting your questions.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to display a CUSTOM message after the filters are applied on an analysis

    Hi Experts

    I created an analysis which consists of the following filters:


    Status is equal to / is full
    AND
    Quote value is greater than 40000

    But after I appy these filters there is no data to display (as there is no data that meets the requirements of the filter)

    Is it possible to display a CUSTOM message instead of display the results by default 'No '.

    Please could you help

    Franck

    11 g - http://santoshbidw.wordpress.com/2012/06/10/obiee-11g-no-results/

  • How to display custom error message when JAAS authentication fails

    Hi all
    I use JDEV 11 g TP4 and have the following problem:

    I have a web application with custom, connection module that is called by the container.

    When authentication fails, I take a "javax.security.auth.login.FailedLoginException" with the error in detail inside.

    The point is, how to display the exact error on login error page, who transmits container automatically


    Kind regards
    Krasimir

    We have implemented several custom, but never used connection modules JAZNContextCallback. I think it's depracticed JPS... and pay attention to the point made by Frank that this should be changed to WLS in JDev version coming soon. Even in TP4 there has many parts unfinished of JPS where JAZN is always used but does not not as expected.

    I suggest you only use reminder managers JAAS standard or implementation you container own login module standards in order to support any migration. Unfortunately, the javax.security.auth does not provide reminder to catch the request context.

    You can try to use the new oracle.security.jps.callback.HttpRequestCallback)

    I think it should work even with WLS.

    Kind regards

    PaKo

  • How to display the dialog box before uninstalling an application?

    Hello

    I want to display an alert dialog box before an application is uninstalled, has no idea how to do this?

    If not how can I detect a first run of an application after the installation?

    I have not tried out, just an idea.

    (A) there is a class called CodeModuleManager can check his stats module.

    So, in your application context thread to check his stats module.

    If it is marked as deleted, you can extract a global dialog box.

    (B) to implement SystemListener2, when the fastReset event occurs, you can check the stats module, if it is marked as deleted.

    you pop up GlobalDialog and force the user to interrupte.

    See you soon.

  • How can I add a message button Delete in Thunderbird?

    31.2.0 Thunderbird doesn't have an icon or a button Delete, and no display to customize the toolbar.

    It should be a delete button that you can add to the e-mail toolbar.
    When you click with the right button on the e-mail toolbar and select Customize you see not a delete button?

    There is a button to remove the header of the Message pane if you that lights up. It will switch on / off power with the F8 key.

    Press Delete on your keyboard works as does right click on the message and select Delete.

  • How to display the reminder Message icon?

    Like any message/e-mail from Blackberry, a little 'icon' come as a reminder, on the top-middle of the screen with

    the number of pending messages.

    I want to display the same icon thanks to my application I received a msg in my application.

    How to do this? What should I use?

    Please help.

    Thnx in advance.

    EncodedImage encodedimage = EncodedImage.getEncodedImageResource ("image.gif");

    ApplicationIcon applicationicon = new ApplicationIcon (encodedimage); ApplicationIndicator applicationindicator = ApplicationIndicatorRegistry.getInstance (.register (encodedimage),

    ( false,false);

    applicationindicator.setVisible (true);

  • How to display the alarm message for a scheduled task in Task Scheduler

    Original title: title of alarm appears not

    When I create an alarm (in the Task Scheduler) I give this particular alarm a name (example: time to pick up the aunt Martha). How can I make this name display when the alarm goes off?

    Hello

    1. click on start, type Task Scheduler and press enter

    2. in the section actions in the right pane, click create basic task

    3 type the task name , and then click Next

    4. Select when starting the task and click Next

    5. now, select the start and end time and click Next

    6. now, select display a message as the action to perform, and then click Next

    7. now, type a message to display and click Next and click Finish.

  • How to display the error messages from sql/pls call

    Hello

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Hi AZZ.

    AZZ says:

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Yes, agree with orpheus4192. Use the APEX_ERROR. ADD_ERROR API.

    Reference:

    Kind regards

    Kiran

  • How to display the success Message on the left side of the screen

    I have a message for success of the process after the process of ApplyMRU * #MRU_COUNT # line (s) update *. By default, this message is displayed in the center of the screen. I want to show this message to the left of the screen.

    I use APEX 4.0; Sand theme - 10. I tried to change the position of success message alignment in the Page template - level tabs, HTML Body section. But I'm not having any luck.

    Someone know how to change/replace the default position for the success message?

    Thank you

    Hello DP,.

    Try this...

    
    

    Thank you
    Machaan

  • How to display a warning message when someone tries to stop .vi?

    I have an instrument that generates at the rate of several per second .dat files.  The device stores the files on a PC.  The PC has a LabVIEW .vi which checks the new .dat files.  If a file is found, the .vi reads data, calculates a value, then deletes the file.  If the LV application is stopped by a person until the unit is off, the hard drive fills up within hours.

    The .vi is configured to run at the opening, but I need a pop up warning message in case someone tries to stop the vi.

    Any suggestions?

    Hi epster,

    No, the button abandon won't get caught by it. But you must hide the toolbar in any case when the vi is running...

  • Does not display a confirmation Message (apex.confirm)

    I am using the version of apex.confirm that also sets the value of a page element. The APEX documentation provides this example of the correct syntax (cut and pasted from manual):
    apex.confirm("Save Department?", {
      request:"SAVE",
      set:{"P1_DEPTNO":10, "P1_EMPNO":5433}
    
      });
    I'm doing the same thing in my code, but confirmation is simply not display:
    var hasUnsavedChanges = $v( 'P35_CHANGES_MADE' );
    
    if ( hasUnsavedChanges == 'TRUE' )
    {
    alert('prompting')
       apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", {
          request:"GOTOMARGCONFIRM",
          set:{"P35_CHANGES_MADE":FALSE}
       });
    
    alert('prompted')
    }
    else
    {
    alert('submitting')
       apex.submit('GOTOMARGCONFIRM');
    };
    Never, it displays the alert 'guest' but that 'prompting' is displayed. I can't just spot any difference between the syntax I use the syntax provided by Oracle. I'm only if the value of the element, P35_CHANGES_MADE.

    Can anyone help. BTW, just using the regular version of apex.confirm, i.e.
    apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", "GOTOMARGCONFIRM");
    works very well.

    -Joe

    When the value of the element is not a number put the value in quotes.

    apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", {
          request:"GOTOMARGCONFIRM",
          set:{"P35_CHANGES_MADE":"FALSE"}
       });
    
  • How to display the error message by supporting the bean class - Jdev 10.1.3.4

    Hi people.
    I have a page with a form of adf and some text entry fields
    A text entry field is based on a transitional attribute.
    I created a validation in a bean class of support to do some calculations. If the user type a wrong number in this field, I need to validate the number in my support bean method (which is ok)
    and show a validation error, like this validations of EO. Is this possible?
    Willian thanks

    Hello

    Yes, it is, try something like the following:

    FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "some message summary", "some message detail");
    FacesContext.getCurrentInstance().addMessage(null, message); // Null for global message
    

    Kind regards

    ~ Simon

  • Confirmation message is displayed when you click on the button

    We need display a confirmation message when you click a button to notify the user the changes are successful, allow the user to click on 'ok', and then on the home page. The current function uses .setForwardURL to redirect the page to the "Main" page after clicking on a button.

    Here is the code of the application currently being used by the controller

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);

    OAApplicationModule contactam = (webBean) pageContext.getApplicationModule;

    If (pageContext.getParameter ("saveContact")! = null)
    {

    contactam.invokeMethod ("saveContact");

    () pageContext.setForwardURL
    'OA.jsp?page=/csxxx/oracle/apps/ak/contact/webui/ContactMainPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    OAWebBeanConstants.IGNORE_MESSAGES);

    }

    Hello

    You can display the message after contactam.invokeMethod ("saveContact") as shown below:

    If (pageContext.getParameter ("saveContact")! = null)
    {
    contactam.invokeMethod ("saveContact");
    throw new OAException ("Data has been saved.", OAException.CONFIRMATION);
    }

    Sushant-

Maybe you are looking for

  • FF 4.0 does not work with Mac OS 10.5, unless the Mac is intel based

    I have no intel Mac OS 10.5 with FF 3.6.15 and cannot move to FF 3.6.16 (FF4.0) because it is not intel. What to do (apart from a new computer that will be the month away)?Thanks for your help. Photo

  • Satellite L300-13R - not able to recovery

    Hello Problem with the SATELLITE L300-13R, fails to start Vista.Pressing F12 with recovery dvd, dvd loading starts, then stops after about 30 seconds, leaving a blank screen. We also saw the following message STATUS: 0XC00000E9INFO: An unexpected i/o

  • How to save stationglobals the disk in Labview

    Hi, can anyone suggest me how to save the values of stationglobal the disk when my vi is running? I update the stationglobal property set API TS call in my vi. But when I left the TestStand and open again the old values of stationglobal are still the

  • mixture of Vista/xp

    I currently have a xp computer and a wrt54g router v. 6 my internet routing (1 Comp wired & one wireless), wireless computer has a pci adapter wmp54g. I replace my first computer (with the router) to vista. My question is: can I make changes to use t

  • Single unit with multiple clusters CCM

    I know that this horse has been beaten to death, but I couldn't find a specific answer to my question. I understand with multiple clusters, each CCM to the unit calls go on Ports configured as such in each cluster. I also understand that MWI notifica