Popup to confirm a "delete" action

Hello,
I created a layer that allow you to delete some data in  database. I would like to create a popup that would appears when the user click on delete, and where it would be written something like "are you sure you want to delete this row ?"
if he would click on "confirm", it would delete. Otherwise, if would on cancel, nothing would happen.
the problem is I am not able not lauch the delete action only if he clicked on "confirm". Can somebody help me please?
Thank you
Regards
Damien

@ basheer : thank you very much, now it works.
@ hema latha : I had the problem, so I used a Timer with a 0.05 time but with a specific guard condition. I have a variable that is initialized at 0. when I click on "delete" in my popup, it set the variable at 1. (When the variable ==1, the Timer is triggered). My system is configured to set the variable at 0 on each refresh. That's the only way I found. Hope it will help.
Regards,
And a happy new year !!!

Similar Messages

  • How to make JDS confirm file deletion?

    I use the bash shell when logged in over SSH and I always set the following alias just in case I do something stupid:
    alias rm="rm -i"Is there a similar setting for JDS that I can tell it to confirm file delete whenever I try to delete a file (i.e. popup a standard "Are you sure?" dialog box)?
    Thanks!

    By default JDS file browser "deletes" files to the trash can - a la windoze Recycle bin 8-( -
    so it doesn't feel the need to double check as you can always reclaim the file from there.
    Emptying the trash includes an "are you sure" which can be configured from the folders settings pane:
    Launch->Preferences->Desktop Preferences->Folders and pick the "Behaviour" tab
    If you mean you want the double check made in a terminal or console displayed within JDS, as opposed to using the file browser, then you need to place a suitable command in the configuration for the shell you're using e.g. .profile or .cshrc etc.
    Regards,
    Paul

  • Using a link to trigger a delete action on form page?

    Hello,
    I have been unable to find an explanation about how to do this in the documentation, these forums or the old interakt forums.
    Is it possible to use a link to trigger the delete action on a form page?
    If so how is it done?
    Thanks in advance!

    Sorry Purple.. I know that there is a delete link that triggers the delete transaction on the form page..
    The question was if anybody knew if I am able to use a link to trigger that delete transaction (on the form page), much like a dynamic list has a link that will trigger the delete transaction on the form page.
    I don't want to use a dynamic list in this case though. :)
    Thanks anyways,
    Drew

  • Project deleted in iPhoto 11 ver. 9.1.1 After spending three months building a twenty six page Book Project in iPhoto i added a page and later decided to delete the page. I selected the page, pressed the delete key and confirmed the delete dialog box ( i

    Project deleted in iPhoto 11 ver. 9.1.1
    After spending three months building a twenty six page Book Project in iPhoto i added a page and later decided to delete the page. I selected the page, pressed the delete key and confirmed the delete dialog box ( i didn't read, dummy) by pressing the delete button. The whole project was gone, the undo menu was grayed out and there was nothing in the iPhoto trash about my Book.
    Surly I can find this if I knew the path to find the project in a library on a back column I have of my hard drive.. Could anyone help me?

    Sorry I'm having a hard time getting this.
    If I go to my hard drive BIGMAC>Library>Application Support>iPhoto>the only thing in this folder is Themes.
    However, when I "Get Info" it's 580MB for 24,421 items. iPhoto says I have 35,977 photos. I would think the database would be into the GB for this many photos.
    If I go to BIGMAC>system>Library>I find nothing about iPhoto
    Is the iPhoto file in the Application Support the one I need to replace with my backup?
    Thanks so much for your help.
    Jack

  • Anyone besides me get an annoying popup that cannot be deleted/closed reading:  FaceTime Password Please enter your password for "my e-mail account name" Never used FaceTime.

    Dear Community,
    Anyone besides me get an annoying popup that cannot be deleted/closed reading:
    FaceTime Password
    Please enter your password for "my e-mail account name"
    It happened to me today for the first time since upgrading to Mavericks 10.9.3, no "stop lights" in the title bar of the popup, in fact nothing at all.
     I've never established a FaceTime account. So I tried to delete FaceTime from the Applications folder on the "system" disk thinking this may eliminate the popup. Mavericks informed me "Cannot delete FaceTime as it is used by the operating system. 
    Is this a MAC virus? Or is this an example user community alpha/beta testing that Apple just announced?
    TIA,
    GonzoBernelli

    That being the case, why then did the FaceTime popup even appear in the first place?
    It's not clear to me what it is. If it occurs again, please take a screenshot of the popup and post it in a reply.
    To take a screenshot hold ⌘ Shift 4 to create a selection crosshair. Click and hold while you drag the crosshair over the area you wish to capture and then release the mouse button. You will hear a "camera shutter" sound. This will deposit a screenshot on your Desktop.
    If you can't find it on your Desktop look in your Documents or Downloads folder.
    When you post your response, click the "camera" icon above the text field:
    This will display a dialog box which enables you to choose the screenshot file (remember it's on your Desktop) and click the Insert Image button.
    The screenshot attachment option for this support site appears only on computers - not on iPads.
    ⌘ Shift 4 and then pressing the space bar captures the frontmost window.
    ⌘ Shift 3 captures the entire screen.
    Drag the screenshot to the Trash after you post your reply.

  • Discrepancy between the confirmation and deletion of qRFC-LUWs

    Hi experts,
    When I started PC to loading data from CRM system,data loading stopped.I check the
    Log.
    "discrepancy between the confirmation and deletion of qRFC-LUWs" (Message no. RSQU016)
    How to solve it? Thank you.

    Hi Gavin,
    <b>Please use Transaction code, SMQ1.</b>
    Drill in to the queue and delete the respective queue.
    Or use transaction <b>LBWQ</b>
    to get to the same information. Select your queue and delete it.
    Regards,
    Aby

  • Cancel a delete action in a trigger

    Hi,
    I would like to know the best way to cancel a delete in a trigger, I want to instead change a Field called Active to 'N'
    My application is built on views that exclude records with this flag set to 'N'
    I have found the IF DELETING ('id') THEN syntax which should be fine to capture the delete, but what is the best way to then cancel the delete?
    Thanks in advance
    cl3ft

    Hi,
    I don't think you can cancel the delete action in the trigger if you want to perform another action afterwards. You can cancel the delete action by raising an exception (e.g. with RAISE_APPLICATION_ERROR(-20001,'No delete allowed') ;)
    To cancel the delete action and perform an action afterwards I would suggest to create a view on the table containing all columns. On that view, you can define an INSTEAD OF DELETE trigger. In this trigger, simply update the column and do not perform any delete action. This should do the job for you.
    Regards
    Stephan

  • How to Implement basic Insert ,Update and delete Actions

    Hi all,
              i want to implement 1)INSERT 2)UPDATE 3)DELETE actions in webdynpro application means i have to add a new record to my R/3 backend and update and delete records from my database
    can anyone tell me how to do these actions
    Regards
    Padma N

    Hi Murtuza ,
                           I have 2 views in my application.In the first view i enterd some purchaseorder number and clicked serarch button.The items regarding that purchaseorder gets populated in the table which is in second view.All the data is in R/3 backend system.
    the code i used to get the details of that particular purchaseorder is
    try {
    wdcontext.currentZ_Matrls_For_Inputlement().modelObiect.execte();
    catch(RFCException e){
    /* Catch the Exception Here */
    Here now i want to delete one record of that particular purchaseorder from the database.So Wat should be the code to delete record from R/3 Model
    Regards
    Padma N

  • 11.1.1.4.0 - inline popup: disabling the default cancellation action...

    Hi,
    I read in Oracle JDeveloper and Oracle ADF 11g Release 1 Patch Set 3 (11.1.1.4.0): New Features and Bug Fixes:
    "Dialog Framework: Capability of disabling the default cancellation actions applied to the entire web application for full page task flows ran as inline popup dialogs."
    I search the function in the current JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 but I can't find it.
    Can I define this in the taskflow? Or in the when I use the taskflow in another taskflow an define this as "run-as-dialog"?

    duplicate of 11.1.1.4.0 - inline popup: disabling the default cancellation action...

  • How can I customise a default delete action

    Dear's
    In Apex, I have report with edit button. By cliking on edit I can see the edit window with a delete button. I want to restrict this with some checks .
    The delete button should be displayed always.
    I want to utilise the default delete action, I don't want to write a code for deletion.
    On click , if the condition restrict , it should give message and should not delete that record.
    Otherwise the record shoud be deletd.
    Dennis
    Edited by: DJ on Mar 20, 2012 11:41 PM

    Dear trent
    Thanks,
    Actually I wanted use a complex condition, I want to write a funtion returing some value. Based on that I want to show a message or I want to do the delete action. If i am putting some condition for the delete button, if false, the button will not be displayed. This should not happen.
    What you mean by validation here, On which item or which action or where should I put the validation code in my senario.
    Dennis

  • Add popup to confirm saving on BP_HEAD Overview

    Hi,
    I actually need to add a popup to confirm saving on CRM application.
    I need to add this popup On context Save (SAVE_ADDR)
    View Controller : BPHEADOverview.do.
    I don't understand how it is working. Apparently it is not possible to had a javascript popup code and link it to my input filed.
    How is it possible to add this popup on click to save buttom?

    Hello,
    It's actually quite simple to create popups in the new WebUI (as from 2007, I don't think this method exists in 5.2).
    Every IMPL class should have a reference to the compcontroller attribute (check the IMPL class of the view you're trying to enhance). In the compcontroller you also have a reference to the window_manager and this window_manager (IF_BSP_WD_WINDOW_MANAGER) contains a cool method "CREATE_POPUP_2_CONFIRM".
    Do a "where-used" on this method and you'll find plenty of examples!
    One remark, this method only gives you a reference to an interface (IF_BSP_WD_POPUP to be precise), after the method call don't forget to lr_popup->open( ) else the popup won't be shown!
    THis is a typical "confirm" popup, quite simple, check out the other popup methods of that window_manager class!
    Hope this helps,
    Joost

  • Intercept delete action in DataAction

    Hi,
    I use jdev10g preview.
    I put in uix page a sample read-only table.
    I put delete action from my AM.
    I want commit after delete, but how known that's delete action is fired in DataAction ?

    The simplest way would be to chain actions on the pageflow
    Drop a Data Action and drop your Delete custom method from the Data Control Palette onto that. The wire up any input parameters into the paramName[n] set-properties in the Struts-Config
    The Drop another data action and drop the commit operation on that, wire the delete action to the commit action with a success and then the commit will be automatically issued once the delete action has finished.

  • How to get  log of user's delete action on Content Items?

    Hi all,
    When one user edit a Content Item, we can get the log about this action. But when user delete this content Item, I couldn't find out the log about this action.
    I wonder that WebCenter Content have any function to logging the delete action on Content Items?
    If it have, where I can find it ?
    Thanks a lot!

    If you are strictly interested in just "deletes", you can query the table "DocumentHistory". Basic data like checkin, checkout, update, and delete actions against a document is recorded there, along with the user and date.
    If you need deeper data however, as Srinath noted, Content Tracker is built for those deeper requests.

  • Triggering a Popup to confirm from FPM IDENT Area.

    Hello
    for Workprotect Mode I am trying to triggering a WD Popup to confirm via FPM.
    How to do that?
    Thanks and regards
    Armin

    Hi Armin,
    If you want to call data loss popup, you can do it in two ways.
    1. Set is_dirty flag
          use if_fpm_work_protection interface and use the method set_dirty () to set the is_dirty flag. Once you set this, by default FPM will call the data loss popup. also it is your responsibility to clear the is)dirty flag after the commit in your application.
    2. Reimplement needs_confirmation method
          if you are connected to FPM, you would have used if_fpm_ui_building_block. In this interface, you have a method needs_confirmation to call the data loss popup. use below code snippet.
    *eo_confirmation_request = cl_fpm_confirmation_request=>go_data_loss.
    Thanks
    Senthil

  • Confirm Subtree Deletion....Why this??

    Hello all,
    So today I tried to remove an old user out of AD 2003/2008 and for the first time I get the a message:
    Confirm Subtree Deletion:
    "Object username contains other objects. Are you sure you want to delete object %username% and all of the objects it contains?
    If you cancel the running deletion, the objects deleted thus far will not be recovered.
    WARNING: if you select Use Delete Subtree Server control check box, all objects within the subtree, including all delete-protected objects, will be deleted and the deletion cannot be canceled"
    Check box: Use Delete Subree server Control
    YES or No.
    What is this all about? I haven't encountered this before and not recently while deleting users, old machines, etc??
    Thank You in advance.
    SM

    Hello,
    in the view options enable "Users, Groups, Computers as containers" and check if some related settings belong to it.
    You can also use ADSIEdit.msc to check the subtrees from an object.
    http://mikemstech.blogspot.de/2011/12/active-directory-leaf-object-confirm.html
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

Maybe you are looking for

  • ERRO DE VALIDAÇÃO NO MONITOR DE NFE

    Boa tarde, Estamos com alguns erros de validação no monitor de nf-e (J1BNFE), e não conseguimos identificar onde esta o erro. Podem ajudar ? Erro de validação: Campo Region of NF-e Issuer: V09 (Campo B12_CUF) Erro de validação: Campo Modelo da Nota F

  • WEP or Network Password??

    I am trying to connect my roommate's PC to my AirPort wireless network, but it keeps asking for a network password or WEP passord? I have a G4. Where can I find this password?

  • Red files won't import into CS5

    Hi all, I shot some footage yesterday on a Red Epic. The files are .rd3. Premiere Pro CS5 is suppossed to have native support for Red files, but they won't import - I get a "file import failure" message. The error says "unsupported format or damaged

  • Quantity Conversion in BEx

    Friends, I am trying to use RSUOM to convert units of measure on weight.  I am having some difficulty in getting it to work and am looking for some advice. I have 0net_wgt_dl in my cube.  It is populated with KG and LB.  I would like to use a convers

  • Credit to vendor while creating SC

    Hi All, Is there a way to apply a credit from a vendor to a shopping cart at shopping cart creation time versus applying the credit at purchase order creation time? Thanks, Ravi