Is there a way to make the current row not editable

Hi, I'm using JDev 11.1.1.2
In my usecase I have a Form , navigateable with next/previous , and for every row a I have a calculation which makes the row editable or not.
For now I made it with disabled property on every input component set to some bean property which is calculated every time.
My question is if there is some general way to make an Entity not updateable ?
I tried with doDML() ... but the problem there is that this method is not called when switching the current row but rather when commiting. So the user can modified several rows and when pressing commit it will prevent some of the to be committed which would be confusing.
Is there a method in the ViewObject that i can overwrite which is called every time the current row is changed? So I can see if the row was modified or not.
Thanks, agruev

Yes, there is always isAttributeUpdateable() in the ViewRowImpl, which you can override and enable/disable your attributes based on an enabling/disabling condition.
Here is an example:
public boolean isAttributeUpdateable(int i) {
boolean updateable = false; /disable by default all arguments
// enable, if your condition is met
if ( meets_your_condition )
updateable = super.isAttributeUpdateable(i); // let the framework decide based on your declarative settings
return updateable; // return true/false indicator
Nick

Similar Messages

  • Is there a way to make the ipod touch not lag when playing modern combat 3 on ios 6

    is there a way to make the ipod touch not lag when playing modern combat 3 on ios 6 because when i play it laggs badddddddddddddddddd any suggestions or help

    Hey Harold the Lion Tamer,
    Thanks for the question. I understand that you are experiencing issues with your iPod nano (7th generation). The following resource outlines basic troubleshooting steps, and tips on the next best steps if your issue is not resolved:
    iPod nano (7th generation): Hardware troubleshooting
    http://support.apple.com/kb/TS4433
    The Five Rs: Reset, Retry, Restart, Reinstall, Restore
    Remember these five basic suggestions if you have an issue with iPod nano. Try these steps one at a time until the issue is resolved. If one of the following doesn't help, read on for solutions to specific issues.
    - Reset iPod nano. First, make sure iPod nano is charged. Then press the Sleep/Wake button and the Home button for six seconds, until the Apple logo appears.
    - Retry with a different USB port if you cannot see iPod nano in iTunes.
    - Restart your computer and make sure that you have the latest software updates installed.
    - Download and reinstall iTunes.
    - Restore iPod nano.
    Issue not resolved
    If the issue is still not resolved, please read this information on servicing your iPod.
    Thanks,
    Matt M.

  • Help! Is ther a way to make the pentool in Illustrator will be like in Photoshop pentool?

    Help! Is ther a way to make the pentool in Illustrator will be like in Photoshop pentool?
    I'm a photoshop user but this days i need make some design using illustrator. because of its vector base features.. but the problem is.. i more handy using the pentool in photoshop.. its hard for me to adjust..
    Is ther a way to make like this
    [IMG]http://i50.photobucket.com/albums/f313/henyongisaiah/VectorTypes-01.jpg[/IMG]
    http://s50.photobucket.com/albums/f313/henyongisaiah/?action=view&current=VectorTypes-01.j pg
    when i Add a anchor point, without converting it?
    i like to be automatic just like in photoshop pentool.

    1. Path with straight segment selected.
    2. PenTool: click the segment to add the anchorPoint. If the straight segment has no handles extended, the added anchorPoint will be a corner point. The added anchorPoint is selected.
    3. Click the Convert To Smooth button in the Control Panel. The anchorPoint is converted to Smooth and its handles are auto-extended.
    OR
    3. Press Alt to invoke the convert tool. ClickDrag the just-added AnchorPoint to drag out both its handles to the length desired. If SmartGuides is on, the handles will snap to the segment.
    If a segment is straight and has no extended handles, clicking the segment with the Pen tool adds a corner AnchorPoint with no handles extended.
    If a segment is straight and has either of its handles extended, clicking the segment with the Pen tool adds a Smooth AnchorPoint with both handles extended.
    JET

  • Is there a way to make the query key reference date equal to a date of IC

    Hi gurus
    Is there a way to make the query key reference date equal to a date in the InfoCube. For example, I want to see the attributes for characteristic material based on the sales date of the transaction?
    Thanks
    Siva

    Sivakumar,
    Key date applicable to entire query for time dependent attributes and heirarchies.
    You can create a user entry variable and use it for query key date. So can choose at input screen. and also you can populate default value using user exit(eg: current date).
    Hope it Helps
    Srini

  • Is there a way to make the iPad Common Access Card (CAC) enabled?

    Is there a way to make the iPad Common Access Card (CAC) enabled?

    There are two current readers with iPad support, with at least two more expected in the next couple of months.
    Be careful of what you refer to be "CAC enabled". The true answer to this depends upon what your software requirements are.
    Please refer to http://militarycac.com/mobile.htm#iPhone_and_iPad as a good reference source.
    Good luck!
    Bill

  • Is there any way to make the sent folder in mail list emails "to" instead of  "from"

    Is there any way to make the sent folder in mail list emails in the "to" order instead of  "from".

    Sure open Sent folder.
    Just above first message is an icon titled Sort By Date followed by a downward pointing arrow.
    Click on the arrow and select "To" from the list.
    Allan

  • Is there a way to make the colour picker in the toolbar bigger?

    Hi,
    Is there a way to make the colour picker in the toolbar bigger?
    I've been using Illustrator for some time now and find this part of the software to be annoying as I frequently mis-click this tiny area and the switching between foreground and background colour is easily mismanaged and you end up changing the colour of the one you didn't intend and then have to make two clicks to remedy that.
    Do any other users find this to be a badly designed part of the software?
    Also, while I'm here I suggest that when in the colour creation dialogue the 'preview' tick can somehow be switched to on as default.
    I can understand that there are situations where it might be better not to see your colour change in the document in real time, but to have to click this (again very small) tick box again and again feels like bad design.
    ^ both the above are frequent tasks for many users
    Interested to hear if there's any work arounds to fix this.

    Thanks for the tip,
    I do use x and shift x and also / to make a no stroke or no fill. But / is a long way across the keyboard. I guess I could reassign that function to a key that's nearer x.
    I think the real annoying bit is not only the small size of the two overlapping squares, but the fact that they change size depending on which one is selected. So the button that is not selected is encroached by the one that is selected (and overlaps it). This to me seems counter to interface design - ie, make the switch button smaller. Worse still is the no fill / no stroke button; insanely tiny.
    I would gladly redesign this corner of Illustrator for Adobe, and I'm sure quite a few other people would too!

  • Is there a way to make an audio clip not cover the whole project? I want to add audio clip or song and let it start at a certain point in the project. I'm working with iMovie on IPad!

    Is there a way to make an audio clip not cover the whole project in iMovie? I want to add audio clip or song and let it start at a certain point in the project. Whenever I add audio or song it covers the whole project. I'm working with iMovie on IPad!

    Thank you for your reply Karsten but unfortunately this didn't help me so far. Or maybe I'm missing something?
    First the link is a tutorial for iMovie on a Mac. I'm using iMovie on iPad so the steps are inapplicable.
    Second it is only possible for me to manipulate the end part of the sound clip to whichever duration I want. But I can't do the same with the 'beginning' of the sound clip.
    I simply want to place some photos in the beginning of my video with no sound in the background then after like 2 secs I want to start the music clip. For some reason that is not possible! Cause every time I drop the music clip unto my project timeline it automatically place it self along with the first frame in the project! And consequently the photos and music are forced to start together.
    Hope I'm making sense...

  • Since downloading the 2013 Keynote upgrade, the slide image size on handouts with 3 slides per page option is very small. Is there a way to make the slide size larger while still keeping 3 slides per page   lines?

    With the new Keynote upgrade (version 6.1), the slide image size on handouts is very small, which makes it difficult to read slide content when compiling lecture notes for students. Is there a way to make the slide size larger while still keeping to a format of 3 slides per page with lines?

    A number of posts have reported the same issue, two workarounds:
    1
    check the paper handling options or equivalent in your print dialogue box and set to scale to fit

    in the Keynote option, in the dropdown menu in the Print section, select Individual Slides
    then choose Layout, and set the number of pages, when printed you will have multiple pages on a single sheet.

  • HT4972 I replaced the computer I originally used to synch my iPhone. I get the message stating that my content will be erased, even though this is the computer I now synch with. Is there a way to make the update recognize the new computer?

    I replaced the computer I originally used to synch my iPhone. When trying to update to iOS5.0, I get the message stating that my content will be erased, even though this is the computer I now synch my phone with. Is there a way to make the update recognize the new computer so that my content will be kept?

    The best option is to copy your entire iTunes folder from your old computer to your new one using one of the methods described here: http://support.apple.com/kb/HT4527.  This will allow iTunes on your new computer to recognize and sync with your phone without deleting content.  You will also need to copy over any other synced data not in your iTunes library such as photos synced to your phone, calendars and contacts.
    If you can't do this, these articles will help you start syncing with your new computer with minimal or no data loss:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    Recovering your iTunes library from your iPod or iOS device

  • Is there a way to make the bookmarks panel appear only when bookmarks are actually present? As in, I

    Is there a way to make the bookmarks panel appear only when bookmarks are actually present? As in, I'm looking for a global setting so that I don't always have to update the properties in each document.

    AFAIK, no.

  • Is there a way to make the mouse bigger

    Is there a way to make the mouse bigger

    Yes.  In System Preferences > Universal Access > Mouse & Trackpad tab > move the cursor size slider more to the right.  The graphics aren't very good the larger the size but a slight increase really helps.
    Regards,
    Captfred

  • As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

  • Is there a way to make the music that plays on my iPhone 5 sound like it does on iTunes?

    I notices that the music that is played on iTunes sounds a lot clearer than it does when I listen to my music on my iPhone. Is there any way to make the music on my iPhone sound more clear?

    Have you not got a backup of your content on, for example, external drives or CDs/DVDs ? If not then you could see if any of the utilities mentioned in this old post still work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893 .
    In terms of photos, then for those taken with the iPhone or saved from emails/websites then see this page : http://support.apple.com/kb/HT4083
    For photos that were originally synced from a computer you will need a third-party app such as Simple Transfer (which has a free lite version called Simple Photo & Video Transfer) which can copy them off via your wifi network. But as photos are 'optimised' when they are synced to a device, any that you then copy back to a computer may not be exactly the same as they originally were on your computer.

  • Is There a Way to Make the Background App Be Useable?

    Hi. Is there a way to make the background useable? For example, you have a fullscreen only app in the background and you want/wanted (which is the correct grammar btw, those who're native speakers and why?) and you have Safari for some tutorial, is there a way to access the background app (for example if it's a drawing app you're learning).
    It is possible I guess if the background is/was (which is the correct grammar again btw and why) was resizable.
    Thanks in advance.
    Gbu.

    Another way to be able to get to the tutorial in Safari would be to double-click the titlebar of the drawing app's window. Doing that should minimize it, dropping it into the Dock, thus making the Safari window visible. You can bring the drawing back up and front by clicking its icon in the Dock.
    I can see a lot of confusion happening if it were possible to have the top window inactive and one in the back of it active. One would have to be really alert as to which window was the active one, to avoid something happening in the wrong place. I'm glad it doesn't work that way.
    As far as the drawing app not behaving in accordance with Apple's guidlines re full-screen windows, well, that's on the publisher of the program. Apple publishes developer guidelines for a reason.

Maybe you are looking for