Command button does not commit unless hit twice

I'm using ADF/BC, 10.1.3.2 jdev. I have the following code in my backing bean:
    public String cardLost() {
        inputText12.setValue("1"); 
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding =
            bindings.getOperationBinding("Commit");
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty()) {
            return null;
        return null;
The command button is defined as follows:
<af:commandButton
                                text="Save" disabled="false"
                                binding="#{find_student_mb.commandButton4}"
                                id="commandButton4"
                                action="#{find_student_mb.cardLost}"
                                immediate="false"/>When I hit the Save button the first time, the input text field (inputText12) changes to 1, but the data does not get commited to the database. (I have verified this in the database) If I hit the Save button again, the data gets committed.
Is there a way to update the field and commit the data with one button?
Thanks,
Bob

Hi,
commit doesn't execute before a field is submitted. So what you do is you submit a page then update the field (which then is not yet reflected in the submit) an call commit, which basically executes on no new data. In the second call you now submit the data shown in the field that then also gets commited. To get it commited on the first button press, set the field value to the binding layer (attribute binding or iterator binding )
Frank

Similar Messages

  • My ipod shuffle voice over button does not list the song/artist or give battery status.  I am following direions but it doesn't respond wether I push it once or twice.  Any ideas?

    ?The voice over button does not work per directions (press once for title/artist; press twice for battery status.  Any ideas how to make this work?

    I discovered that if I push the button quickly (twice), I get the battery status.  But I still do not have any title artist data.  The music get quieter but no info.

  • The hit counter button does not show up after publishing page.

    I insert the hit counter button to a new blog post and when I publish, the button does not show up.
    I would really like to use the counter as this is a blog for a class I am teaching, and I would like to track
    student viewing.
    Also, sometimes the colors do not publish properly, specifically with links/rollover feature.
    Help!
    And thanks in advance for all you who know wayyy more than I do!  I hope to return
    the favor someday.

    First, thanks for the quick response Roddy.
    Once I posted the question, similar topics came up and what
    I did was remove the hit counter, publish the page without the hit counter. 
    Then inserted the hit counter again and wah-lah!
    Thanks for your reply, this information is correct and helpful as well.
    Very appreciative!

  • Open Task Button does not come in Outlook

    I have a three level approval workflow in which each level an email is generated to the approve to approve or reject.
    But suddenly the Open Task Button does not pop up in Outlook 2010 anymore can you tell me why?
    Srinivasan Kidambi

    had the same issue with External users not using Outlook. This is how I fixed it:
    Open the task list that the workflow is using and connect it to Outlook. Then kick off a workflow to make a new task. Once the task is made open the task from Outlook. The bottom options (review, perform the specific req. for the task, and Open this task)
    are now links. Hover your mouse over the link and you will see the address.
    Now open SPD, connect to your site and open the work flow assc. to the doc lib.
    Start editing the workflow and click the "Approval" link
    Click "Change the behavior of a single task"
    You are going to have to look for all the instances of "then e-mail task notification to "Current Task:Assigned to"
    Open "Current Task:Assigned to"
    Click where you want he link to go and hit the Hyperlink button
    name the link whatever you want, then hit the string builder ("..." button)
    Copy the link from the Task in Outlook into the string builder (if you use External addressing you can also hard code the External address).
    At the very end of the link where is says ID=(then a number) delete the number and DO NOT put a space. Click the Add or Change Lookup button and use "Current Task: Approval" "ID" "As String" and click ok. Should like this:
    Now this will not pop the form up, but it will send the user straight to the task form (might have to enter username and password) for the correct task. Remember to do this to all the "Current Task:Assigned to" in the workflow. It sounds like a chuck of
    work but it does not really take thaty long on the OOTB Approval workflow.
    Just wanted wanted to add my two cents.
    Also check
    http://social.technet.microsoft.com/Forums/en-US/417466a3-cdcb-4559-8453-9fff6da4aceb/getting-around-a-missing-open-this-task-button-in-a-nonoutlook-email?forum=sharepointcustomizationprevious
    If this helped you resolve your issue, please mark it Answered

  • The BUY button does not work in iTunes

    iTunes will not allow me to buy music. The BUY button does not work. I can drag a song to my Purchased folder and then the BUY button comes up in my Library! And then I can buy the song. However I want to purchase whole albums, not single songs.

    It really makes it tough to troubleshoot when there is no error message. So what I'm saying is - I am sort of at a loss. Anyway, try this - close all apps on your iPad, reboot the iPad and then try again.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Hi guys, I have a big problem! My bookmark shortcut entry(command D) does not work anymore and do you know by any changes how to undo resetting of Safari? Thnx a million :)

    Hi guys, I have a big problem! My bookmark shortcut entry(command D) does not work anymore and do you know by any changes how to undo resetting of Safari? Thnx a million

    Try troubleshooting the Safari .plist file.
    Quit Safari.
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop. Relaunch Safari. Try a bookmark.
    If that didn't help, check Safari / Preferences then select the Extensions tab. If you have any installed, turn that off, quit then relaunch Safari.
    If Extensions aren't the issue, reset Safari. From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset.

  • Command + F2 does not turn iMac into a screen

    hi, i am trying to use my 27" iMac as a screen to my Macbook Pro Retina.
    I have the thunderbolt cables plugged in, but pressing Command + F2 does not work. Yes i am pressing these buttons on the iMac.
    The first time i tried it a few days ago, the iMac did turn into a screen, but after a while it fell asleep and the connection was lost. I have not been able to restore it again, which is annoying.
    Another guy at work has the same issue and he has found it randomly works and sometimes doesn't.
    Does anyone know why? feel like the $50 spent on the cable is a massive waste of money if its not going to work. Wish apple would fix this.
    Any help is appreciated!
    i have also looked at   http://support.apple.com/kb/HT3924   and it doesnt have anything i dont already know

    So i was able to solve the issue by updating my operating system. I havent yet upgraded to Mavericks, im still on 10.8.5 but as soon as i updated, the iMac started connecting to the macbook pro.

  • Home button does not wake up iPod Touch

    Hey all,
    After the iPod screen turns off automatically after the preset idle time, pressing the "Home" button does not wake the device up from the first press; on some occasions it has to be pressed twice before the "Slide to unlock" screen appears.
    This is intermittent and I can't pin down how to accurately reproduce the issue, but it seems to happen randomly. I have never experienced an issue where the "Home" button didn't work when pressed during normal operation, so I don't think it is a hardware issue with the button itself. Note that I had this issue before updating the device to 3.1.2 as well.
    I have auto-lock set to 3 minutes, with Passcode Lock on.
    The device is the 32GB model MC008C, updated with the latest 3.1.2 (7D11) OS.
    Cheers

    sorry to reply and intrude here but i cannot for the love of god find he new thread button. (maybe a mod will move me please)
    I recently restored my iPod touch and i didn't really watch the restore. I know the loading bar on ipod was nearly at end. Anyways, 10-15mins later i go to use my ipod and clicking the home button nothing displays.
    I then try to turn on, yet nothing. So googling, i left the battery to completely drain if there is any.
    I plug my ipod into my computer and nopthing happens, it does not wake up(turn on) or even charge. I have tried an Iphone wall charger, yet no response from my ipod touch as well.
    So i kept googling and i found out about some DFU mode, there was lots of different combinations on the web, i tried them all, yet my ipod does not respon. No noises, notifications or anything in itunes(if itunes closed, does not open up!)
    It has now been a good few days since it stopped working, and i cannot think is there anymore to do. It is still in warranty for a few months.
    Only problem is, i do not think i;m entitled to phone support, and the nearest genius for me is hours away.
    PS: my iPod touch was restored to version 3.2 (latest version if thats wrong <!-- )
    I have itunes 9.1
    Running windows 7 rc
    I have tried my ipod also on the following:
    My dual boot vista, another computer with vista and a Mac Pro.
    Can anyone suggest anything or help me please?
    Thanks in advance,
    Malcom

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
    when added to the ribbon for a custom list.  The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
    <CustomAction Location="CommandUI.Ribbon"....
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
    Any help is greatly appreciated.
    One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
    Thanks

    Hi Danny,
    The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
    </CommandUIHandlers>
    </CommandUIExtension >
    </CustomAction>
    </Elements>
    If the same button is added for a custom (not a Tasks) list, the button shows up fine.
    Thanks

  • Iphone 5 home button does not respond, brightness reduces by itself, wont charge and its one week since i got it!

    one week since i got the iphone 5: screen blacks out, when i finally get it to light up the light brightness turns low.
    problems charging phone, just doesnt want to charge unless i reset the phone.
    the main home button does not respond at times, approx 3-5 times a day this occurs
    phones touch screen does not respond at times...whole touch screen, no response!
    signal always drops out, this could be a network issue though i doubt it.
    speaking to quite a few peopl i know, they are havng the same issues with there 5 but not as often as myself.
    if i knew the 5 had so many issues i would not have chosen it, the 4s was fine!

    Then take it back!  If you've only had it for a week, you still have 51 weeks of warranty.  If you are in the USA, you are also within your 14 day unconditional return for full refund period.  If it has that many problems, just return it and get another one, or get your money back and buy something else.  There is no reason to live with a faulty device after just one week.

  • Buttons blend into background. Open menu button does not produce a menu.

    Progress button, home button, back button, bookmark this page, show your bookmarks and open menu buttons are present, but you can not see them. Open menu button does not produce a pop up menu.

    .Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • Froze on black screen and power button does not work

    my sons ipod touch is stuck on a black screen when plugged into the computer got a spinning wheel and will not connect now spinning wheel will not go away the power button does not work so can not reset it manually
    any suggestions would be appreciated

    - iOS: Not responding or does not turn on
    Neglect the reset and when it says place the iPod in recovery mode use one of thes programs
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Is there a capability to save/export the time capsule settings file when using the iphone/ipad airport utility. the "file" button does not exist on the latest airport utility app.

    is there a capability to save/export the new airport 2TB time capsule settings file when using the iphone/ipad airport utility. set-up wasn't a problem but the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.

    the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.
    Sounds like you are a bit confused with version numbers.
    Latest AirPort Utility version for the iPhone / iPad is 1.3.3.  There is no option or capability to export/import settings on the iOS version(s) of AirPort Utility.....although you could take a series of screen shots and save them for future reference.
    AirPort Utility 6.3.x is found on a Mac.....not on iPhone / iPad. Export and Import options are found under the File menu in 6.3.x.

  • I installed the latest version of iTunes (10.6.3.25) on a new Windows 7 PC.  I can see ahred libraries on Shared but can't import as the line containing the Settings and Import buttons does not display.   Any suggestions?

    To move the iTunes library to this new computer I switched on Home Sharing and can see the other libraries on my home network.  If I select tracks from a Shared library I can't import them as the strip containing "Show: All Items" and the "Settings" and "Import" buttons, does not display at the bottom of the screen.  Goes straight from the list of tracks to the strip with Playlist icons and xxxx items, tttttt total time, yyyy GB. 
    Any suggestions for making the Import button appear?

    I hvae the EXACT same issue
    I built a new computer which is EXTREMELY fast overclocked i7 ect and.. ITUNES DOESNT WORK
    I click on itunes which ive uninstalled and reinstalled and reset the winsock AND seen if there were any errors AAAAAAND ive check the Hkey to make sure bonjur was the only one in there which it is and all that happens is my cpu goes to 25% and i cant do anything except go into the task manager and close it! ANYTHING with itunes (everything else is premium speed).
    what do i do
    windows 7 64 bit

  • My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reloading software and reset to original factory settings.

    My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reseting to original settings and reset the operating software.  Any ideas?

    Try:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

Maybe you are looking for

  • Overlapping Requests

    Hi all, I have selected the following options in delete overlapping request as we need only one request for a week. Delete existing requests Only delete request frm same same DTP Selections are Same or More comprehensive Request date is Yesterday or

  • Conky displays on top in openbox. [Solved]

    Probably a dum question, but I have been trying out openbox lately.  But conky when it starts displays on top of everything.  I am coming from fluxbox where it diplays properly on the bottom layer.  here is my autostart.sh and conkyrc # Set wallpaper

  • MS Internet Explorer Registry Key

    I have a PC Windows 2000 Professional with Internet Explorer 6.0, and two version of Java Plug-in installed (14.1 and 1.4.2). Now, when I switch between the two versions, which keys of the registry are involved in the process? In my case when I switc

  • Apple performa display

    I have a non functioning "Apple Performa Display", Model: M9102LL/D.  It appears that the power switch is defective since I can get pilot light and raster by holding the switch in but when I let go, the monitor shuts down. My questions: 1. Is this di

  • Trying to "find examples" in newly installed LabVIEW8 results in an Error 2

    Hi all, and Happy New Year,    I recently installed LabVIEW8 on my machine, an until yesterday hadn't really opened it up to try anything.  I tried to look at the examples and got the following error message: Error 2 occurred at System Exec.vi. Comma