Possible to customize #{bindings.Delete.enabled} checks at ADFBC level?

11g ADF Faces w/ADFBC
Is it possible to customize the checks for a Delete binding at the underlying EntityImpl or ViewRowImpl level?
On my page I have a table within a panel collection. On the panel collection's toolbar I have a button tied to a Delete operation on the iterator that provides the table data.
I want the Delete button to be disabled for certain rows based on various data checks. (In my case, checking to see if the DB row is referenced elsewhere in the DB.) Is there some EntityImpl or ViewRowImpl method I can override to perform this check?
(I know I can override remove() to check and throw an exception, but this would occur after the user has pushed the button in the web page.)
(I also know I can get the desired effect to work by creating a method on a backing bean to grab the selected row from the table and invoking my custom checking logic on it. However, I wondered if there was a better way to work with the ADFBC framework to accomplish this.)
Thank you for reading my question.

One way of doing it might be to create a transient attribute in your VO that returns true or false based on whether the row can be deleted.
Then in your page have the disable property of the button based on the value of this transient attribute.

Similar Messages

  • CRM - Is it possible to forbid address deletion when assigned to a type?

    Hello,
    When I try to delete an address in CRM Tr BP that is assigned to an address type, a popup window display this message :
    "Address still in use, but can be deleted. Do you  want to delete?"
    Then it's possible to choose between : delete / Case of use / cancel
    Is it possible to get a blocking message instead to force users to cancel assignation first, by using customizing (SPRO)?
    Thank you for any help.
    regards
    Laurent

    Hi Monza,
    I dont think its is possible not to show that error.
    Actually that error occurs only when an address is created and assigned to another address usage in BP. Its a system message tht is been raised programatically.
    For your requierement like blocking users not to assign at beginning itself.
    You can do :
    implement a new badi for BADI BUPA_ADDR_CHECK and in CHECK method you can check if a new address is been assigned programatically.
    And then u can raise an error message to be shown on BP blocking the user tht he shudnt assign it.
    Shud solve this problem
    Siva

  • Question about deletion of checked out file using CMIS connector

    When testing file deletion with Adobe Drive connected to an implementation of CMIS server, I ran into some mildly unexpected behavior for when the file is checked out.
    I successfully checked out a file through Adobe Drive then deleted the file. Our server has a constraint that checked out files are protected against deletions, renaming, and moves. So, I was expecting the operation to fail. Instead, the result was that the file had its check out canceled.
    In the AtomPub binding, a cancel check out is specified by deleting the pwc version of the the checked out file. So, this behavior did not strike me as too far off my expectations and I confirmed that the objectid in the deletion request sent by Adobe Drive was the id for pwc version of the file.
    Is this behavior intentional? Or is this an artifact of the way Adobe Drive caches the objectid of files? Check out requests do return an objectid and that objectid is that of the new pwc version of the file. So, the later behavior would not surprise me.
    Thanks

    Hi,
         Yes, this behavior is intentional.
         To bypass the possible constraint during deleting a checked-out file, Adobe Drive intentionally try to cancel check out this file by deleting the pwc version of the checked-out file.
    Regards,
    Gang

  • Can we delete the Check deposit list created in ff68

    I have created check deposit list in ff68 transaction code. batch session created in SM35. But i did not process the session in SM35. Can i delete the check deposit list created in ff68 from the system totally. Is there any program/ transaction code to delete that.
    If that is not possible, my alternative option is setting deletion indicator.

    Hi,
    Go to transaction FEBA_CHECK_DEPOSIT
    Enter you statement details and press enter to see your statement
    There would be an 8 digit ID mentioned after Ending Balance Field. Note down this ID
    Go to SE38/ SA38 and program RFEBKA96 and give application area as 0002 and ID as above. Execute
    Select the statement and delete it.
    Regards,
    Gaurav

  • Is it possible to restore a deleted photo on iPad with out backup?

    Is it possible to restore a deleted photo on iPad with out backup? My friend accidentally delete his photo on a iPad and he didn't make a backup before, can it be restore?
    I have google it, but found nothing and hope that someone here can help me.

    If you have enabled Photo Stream, you may have a copy there.

  • Customize default Delete dialog

    Hi
    My enviroment is:
    Application Express 4.2.0.00.27
    EPG
    Oracle xe 11g R2
    Windows 7 32 bit
    I want to customize delete dialog, more precise I want to change labels OK/Cancel on Confirmation dialog.
    probably should rewrite apex.confirm code or delegate to other function
    button class="uButton " onclick="apex.confirm(htmldb_delete_message,'DELETE');"
    I found articles JQuery UI modal delete confirmation and [http://dbswh.dyndns.info/dbswh/f?p=BLOG:READ:0::::ARTICLE:11400346855113]
    but they are obsolete and no applicable to apex 4.2.
    Maybe should apply something like [http://stackoverflow.com/questions/4421072/jquery-ui-dialog-instead-of-alert-for-rails-3-data-confirm-attribute]
    My knowlege of jquery is poor , so I can't implement this.
    It will be nice to see in future relases, possibility to customize default application dialogs with application property delete dialog html code snippet
    IE ( DIV { jQuery UI dialog ....}
    In this case you can contribute better visual part of application , adding custom images, css ...
    as well better globalization support, since javascript alert button labes are not covered in proces of translations.
    Regards
    Edited by: Baki Sine on Nov 29, 2012 6:08 AM
    Edited by: Baki Sine on Nov 29, 2012 6:09 AM
    Edited by: Baki Sine on Nov 29, 2012 6:10 AM

    Not that I know of. Typically if you need customized dialog boxes you can build your own and handle the values as needed to follow CR parameter types.
    Thank you
    Don

  • Is it possible to validate the deletion of data in custom SE16

    Hi Guys,
    To maintain a Z table ZCITY (Master Data), I created custom SE16 t-code ZSE16CITY (using SE93 - Transaction with parameters).
    Is it possible to validate the deletion of data from ZCITY Table in custom SE16.
    If ZCODE exists in any of the transaction table then deletion of the record is not allowed and display the message for user.
    Is this functionality is doable in custom SE16 or I have to create a maintenance program using Dialog screen (SE51).
    Thanks for you input.
    mini

    Hi ,
    try this way....
    using SE93 - Transaction with parameters
    next pass the below values in the Name of the screen field and Value
    VIEWNAME                                                <table name>
    DATABROWSE-TABLENAME     <table name>
    Prabhudas

  • Is it possible for me to delete all my information in my lost ipod touch? It is in IOS 6.

    Is it possible for me to delete all my information in my lost ipod touch? It is in IOS 6.1.1

    Only if
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have to iPod play a sound via iCloud.

  • Is it possible to customize the halftone screen/angle used by the HP Laserjet 5000/5100

    Hi
    When sending an image to print on our 5000s and 5100s I'd like for the printer to apply a halftone screen of 85 (frequency) and 45 (angle). However, the driver properties only has two settings - Standard and Enhanced.
    I took a look at the PPD and found the following:
    *%=== Halftone Information =================
    *ScreenFreq:  "106.0"
    *ScreenAngle: "45.0"
    *ResScreenFreq 300dpi/300 dpi:  "60.0"
    *ResScreenAngle 300dpi/300 dpi: "45.0"
    *ResScreenFreq 600dpi/600 dpi:  "106.0"
    *ResScreenAngle 600dpi/600 dpi: "45.0"
    *ResScreenFreq 1200dpi/1200 dpi:  "180.0"
    *ResScreenAngle 1200dpi/1200 dpi: "45.0"
    I had hoped that simply by changing the screen frequencies to "85.0" it would do the trick (since 85 does not appear to be outside of the printers' capability). However, it resulted in no changes to the prints. I know (or at least think) the changes were "seen" by the print driver because I changed some of the text that it uses in the property boxes of the print driver and those changes appeared (e.g. I changed "Standard" to "Standard 2" for one of the halftone descriptions).
    My question is... can I customize the frequency/angle used or are these values fixed regardless of changes made to the PPD?
    Thank you.
    Mark

    What was the answer to this excellent question, please?
    Mark
    Student
    Posts: 1
    Registered: 05-14-2009
    0
    Is it possible to customize the halftone screen/angle used by the HP Laserjet 5000/5100
    Options 
    05-14-2009 06:56 AM
    Hi
    When sending an image to print on our 5000s and 5100s I'd like for the printer to apply a halftone screen of 85 (frequency) and 45 (angle). However, the driver properties only has two settings - Standard and Enhanced.
    I took a look at the PPD and found the following:
    *%=== Halftone Information =================
    *ScreenFreq:  "106.0"
    *ScreenAngle: "45.0"
    *ResScreenFreq 300dpi/300 dpi:  "60.0"
    *ResScreenAngle 300dpi/300 dpi: "45.0"
    *ResScreenFreq 600dpi/600 dpi:  "106.0"
    *ResScreenAngle 600dpi/600 dpi: "45.0"
    *ResScreenFreq 1200dpi/1200 dpi:  "180.0"
    *ResScreenAngle 1200dpi/1200 dpi: "45.0"
    I had hoped that simply by changing the screen frequencies to "85.0" it would do the trick (since 85 does not appear to be outside of the printers' capability). However, it resulted in no changes to the prints. I know (or at least think) the changes were "seen" by the print driver because I changed some of the text that it uses in the property boxes of the print driver and those changes appeared (e.g. I changed "Standard" to "Standard 2" for one of the halftone descriptions).
    My question is... can I customize the frequency/angle used or are these values fixed regardless of changes made to the PPD?
    Thank you.

  • Is it possible to customize print sizes (8x8) when ordering prints from Apple?

    Is it possible to customize print sizes (8x8) when ordering prints from Apple?

    No.
    Here are the available sizes:
    http://www.apple.com/ilife/print-products.html#prints

  • Is it possible to reterive the deleted Outbound Delivery details

    Hi
    I would like to know , Is it possible to reterive the deleted Outbound Delivery details like who deleted with  date and time.
    Can It possible to create Proforma invoice without Post Goods Issue (PGI) of Outbound Delivery.
    Can it possible to delete Outbound delivery after creation of its proforma and excise Invoice.

    Thanks sridhar,
    My prob is solved regarding deleted details.
    Can  we avoid , user can't delete the Outbound Delivery after creation of Proforma Invoice and Excise invoice. because OD is related to PRof and Excise inv.
    Actually In case of Sale Order's OD user cant delete OD's. but in case of STO it possible.
    Thanks and Regards,
    Tapovardhan

  • Regarding enabled check box's in alv grid display

    hi ,
    in alv output i have three fields i have enabled check boxes of  this three field  i want to display the out put of them
    could u please explain clearly with code

    Hi,
    Go to Se38 --> Input BCALV_EDIT* and press F4. You can find many demo program with chekbox in ALV.
    Thanks,
    Sriram Ponna.

  • Is it possible with iphone4 to delete only the last tel number called?

    is it possible with iphone4 to delete only the last tel number called?

    At the present, no...it's all or nothing.

  • Is it possible to customize the playback controls bar in a dvd flash?

    Is it possible to customize the playback controls bar in a dvd flash?
    I mean is it possible to change the size of the bar? and the size of the controls?
    Is it possible to remove (not hide or disable but remove from the bar) some controls as "search", "title" ecc...
    Thank You...

    CS5 greatly improved the options for player configuration.
    http://help.adobe.com/en_US/encore/cs/using/WS130B1F01-AE62-4c59-BA44-F29ACD8522EEa.html#W Sf01dbd23413dda0e-3ea68760123ebe30b7c-7ff2
    I have not played with this enough to answer your specific questions. Let us know.

  • Deleting or checking in a lost open activity (DTR)

    Hello everybody:
    A teammate delete a file which is in the DTR. He created an activity and linked this file change into that activity. His computer crash and was necessary to format harddisk before he could check-in the activity. Now we need to work on that file(delete and create again), but when we try to change the file we received this error message:
    (FAILED: The file is checked-out-for-delete by another user: [<USERNAME>])  <FILENAME>  
    When we look the activity report by web browser, we can see the first activity open, but when the activity's owner login in his new NWDS(IDE), he cann't see the open activity and he cann't check-in it.
    We are using SAP WAS J2EE SP14 and NWDS SP14.
    Do you know how to delete or check-in that open activity?
    Thanks
    Regards
    Olivier

    Hi Pascal,
    I have a similar situation and I followed your direction and located the activity using the DTR Web UI. Unfortunately, I do not get an option to revert from the dropdown list box (right corner of the activity page) only items
    Technical View
    Quick Links
    So what can I do now to get out of this situation. If the command-line tool is an option, could you tell me what exactly I can do there?
    Thanks!

Maybe you are looking for

  • My iPod isn't showing up in iTunes

    I have a Second Generation iPod touch ( I know its old but a broke college student can't be picky) and it doesn't show up in iTunes anymore.  I just bought some new music and now I can't import it to my iPod.  Is my iPod no longer supported in iTunes

  • Keeping Synced Backup of Library - In Project Folders

    Can't find a way to do this online - probably because I can't think of the right way to get any sensible results from a search. Basically, I have my Aperture library which is ~100GB (which is already backed up in a couple of places). I also want JPEG

  • What is standard authorization object for  Personal development  P_PLOG

    Hi, Recently i got a object in HR and i dont have any experince in HR.Could you guide me how to asssign standard authorisation object for the personal development p_plog? how to see the infotypes and what is the header field in innfotypes?

  • Diff. bet ABAP  and SAP Query

    HI Anybody can explain in detail about ABAP  and SAP Query..... And tell me what is the main diff. bet ABAP  and SAP Query... Regards S.Baskaran

  • C3-00 How to adjust Brightness/Contrast

    I'm going blind with the current brightness/contrast >.<'