How to fix this data binding bug?

Hi All,
I need a mutual-excluding component like ToggleButton behaves. There's a public property viewMode which indicates which button is selected. It works fine when I click other buttons. But when I click the selected button again, it seems the binding doesn't work.
The project file is attached. Please help me to rectify this issue.
Thanks and regards,

Try setting toggle to false.  Data binding is doing the right thing, but because you have toggle set to true, the Button is toggling selected after data binding has done it's thing.  Try looking at Button.setSelected() to see what I'm talking about.

Similar Messages

  • Hey Apple, please fix this data connection bug before I go insane!!

    On my second iPhone 4s now and it is doing the same thing as my first. Throughout the day, especially when I am in the car (and presumably switching between towers), my phone drops from 3G to the little "o" symbol which means 2G. This is on Verizon's network. I have tried EVERYTHING under the sun to fix this, resetting network settings, erasing all data and setting up as a new phone, doing a factory restore, etc. Tried it on both phones and nothing fixed it. I called Apple and they tried to blame Verizon, but that is BS because my wife also has a 4S and hers has not done it a SINGLE time. When we are driving together, mine drops to the "o" constantly and hers NEVER does. Ever. The funny thing is that if I go to airplane mode and switch it on and back off, my phone IMMEDIATELY picks up the 3G connection again, indicating that this isn't some physical problem with the antenna or reception. It also does it when I am not holding the phone, so I know it isn't my hand attenuating the signal. I have done a lot of research and seen many many other people having this issue, with some people now on their 4th replacement phone and still having the problem. This is a software bug and needs to be addressed! My Android phones never had this issue,
    I have the black 32GB and got it on the first day they were released, although my replacement phone was picked up just before Christmas. I don't want to bother with another replacement because I'm pretty certain it will just do the same thing these past two have been doing.

    Restore the phone as a new device. Do NOT restore your backup. See if that clears it up. If it did it with your first phone and the replacement, it's reasonable to assume that you restored the replacement from the backup of the original. If something was corrupt, it would have been contained in that backup, transferring the problem to the new phone.

  • Passbook is not working on my iPhone 4S. I tried changing the date to 2013, but it's still not working. Does anyone know how to fix this?

    Passbook is not working on my iPhone 4S. I tried changing the date to 2013, but it's still not working. Does anyone know how to fix this?

    This link may be helpful.
    http://support.apple.com/kb/ts2755

  • The find function (Ctl+F) , doesn't not expanding the xml file , to search for given search. If the the xml file is expanded , then find function finds the tag and data. How to fix this.

    The find function doesn't expanding the xml nodes to search. If the xml is expanded , then find function highlights both matching tag and data. how to fix this.
    == This happened ==
    Every time Firefox opened

    <xsl:value-of select="x"/> produces a string that consists of all text nodes in x.
    <xsl:copy-of select="x"/> produces an exact copy of x.
    Go to http://www.zvon.org/ for more information like this.

  • Since upgrading to 5.4 LR uses todae instead of photo creation date.  How to fix this?y's dat

    since upgrading to 5.4 on a mac, LR persists in using today's date instead of photo creation date when i use "Date" as part of renaming template.  never did this when using 5.3.   i rename images on import.  Please help if anyone knows how to fix this.  thank you.   using os mavericks.

    since upgrading to 5.4 on a mac, LR persists in using today's date instead of photo creation date when i use "Date" as part of renaming template.  never did this when using 5.3.   i rename images on import.  Please help if anyone knows how to fix this.  thank you.   using os mavericks.

  • Importing vinvl albums via garage band have to import tunes individually .tunes willnot recombine into one album. I understand that it is because data available on cd's is not present on vinyl..any clues on how to fix this?

    mac version 10.9.4.
    importing vinyl albums via garage  band. Have to import tunes individually as tunes will not retain individusl otherwise.  trouble is they will not rejoin as one album in iTunes.I understand it is because data available on cd's is not on vinyl imports . Any clues on how to fix this?

    "Have to import tunes individually as tunes will not retain individusl otherwise."  -- I don't understand this sentence.
    iTunes will not assign track names to items imported from vinyl.  You will have to label the files yourself in the Get Info window.  As long as you give all the tracks on an album the same album information and the same artist information they should group together.  if the artists differ then you need to give all the tracks one common album artist (often "Various Artists")in addition to individual track artist.

  • I have an iMac5,1 with an intel processor.  For the last month or so, whenever I play a video from an outside source - e.g. YouTube, the picture jumps and breaks-up.  All of my software is up-to-date.  Any thoughts on how to fix this problem?

    I have an iMac5,1 with an intel processor.  For the last month or so, whenever I play a video from an outside source - e.g. YouTube, the picture jumps and breaks-up.  All of my software is up-to-date.  Any thoughts on how to fix this problem?

    You're welcome. As to checking speed go to http://speedtest.net/ and it will choose the closest server for you. BTW, whatever you do, don't click on the robot icon that says "Start Scan" or MacKeeper below that. Only use the speed test in the middle that has the button BEGIN TEST on it. It will run a download speed test first and then an upload speed test. The download test will give a much faster response.

  • I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    SOLUTION
    Open "terminal" on your mac and type the following:
    defaults write com.apple.mail IgnoreSortOrderWhenSelectingAfterDelete 1
    (copy and past the whole line)
    This will stop that behaviour in mail. 
    It works on most opperating systems.
    mine is.
    Mac OSx 10.7.2 Lion
    Cheers

  • Streaming radio just stopped working Firefox version 8, but I can get everything else. Add on's are up to date. I can't recall if it happened after the Firefox up date or after listening to last.fm or what! How to fix this?

    Streaming radio just stopped working Firefox version 8, but I can get everything else not on stream to work. Add on's are up to date. I can't recall if it happened after the Firefox up date or after listening to last.fm or what prompted it. How to fix this?

    I installed-enabled MS win media player firefox 1.0.0.8, i still did not get streaming, error box comes up and says 'stream load error', the 'windows media test' thing did not work, i tried iheart radio-no luck, so i disabled win media player plug-in dynamic link library 3.0.2629 and tested and still did not work, i also have plug ins: silverlight 5.0.61118.0 and quicktime 7.6.9 7.6.9.0 enabled. I don't know why all of the sudden i have a stream problem with firefox, yesterday, i tried on IE which i never use and had no problem with it. i will try to do more trouble shooting and see, its really frustrating, if can't figure out, i guess will have to revert back to IE which i really don't want to do, but---oh well. thx for help.

  • On 27th and 28th marchb2013 , I pad calendar, (showing March), opens then immediately closes. I cannot get into thebCalendar to change anything, (previous bug involved having all-da events on April 1st. How to fix this bug?

    Does anyone know how to fix this bug?
    Thanks,
    Peter, Worcs.UK

    I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
    Two points, Steve:
    1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
    2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
    Do you have any idea what to do to solve the problem?
    Regards

  • Slide to unlock doesn't work happend more than 8 time every time i had to restart my phone, Please can you tell me how to fix this bug . iPhone 5, iOS 7.0.4

    Slide to unlock doesn't work happend more than 8 time every time i had to restart my phone, Please can you tell me how to fix this bug .
    iPhone 5, iOS 7.0.4

    Backup and restore your software via iTunes. If the problem continues, restore as a NEW device. If this solves it, that means there is some corruption in your backup file. If the problem is still there, you should take it to the Genius Bar at an Apple Store for evaluation.

  • Hi I have been given a  two year old MacBook pro and have downloaded the latest up dates but safari will not open. Any suggestions how to fix this would be appreciatedpro.

    Hi
    I have been given a MacBook Pro and have downloaded all the recent updates.
    Safari will not open.
    Any suggestions on how to fix this problem would be appreciated
    Regards
    lb6301

    OK, the only thing that I can suggest at this point is to take the machine to your local Apple Store and have them download and install the latest version of Safari. It's likely something that they'll do for free if you get a nice Genius...
    I don't know what I was thinking about - finely figured out that you MUST have an iOS or other device!
    Sorry we couldn't solve the problem... hopefully, you've a nearby Apple Store? Or an AASP?
    Clinton

  • Messages on my MacBook Air won't send messages over iMessage. Anyone know how to fix this?

    In preferences, under accounts, it claims that my Apple iD is hooked up to messages, including my phone number and email address...yet it isn't sending messages they always fail. Does anyone know how to fix this problem? It would be a great help.

    Read this whole message before doing anything.
    Back up all data.
    Quit Messages if it’s running.
    Step 1
    Hold down the option key and select
    Go ▹ Library
    from the Finder menu bar. Move the following items from the Library folder to the Trash (either may not exist):
    Caches/com.apple.Messages
    Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent
    Leave the Library folder open. Log out and log back in. Try Messages again. If it works now, stop here. Close the Library folder.
    Step 2
    If you still have problems, quit Messages again. Go back to the Finder and move the following item from the open Library folder to the Desktop:
    Messages
    Note: you are not moving the Messages application. You’re moving a folder named “Messages.”
    Test. If Messages now works, delete the Messages folder on the Desktop. Otherwise, quit Messages again. Put back the folder you moved, overwriting the newer one that may have been created in its place, and continue.
    Step 3
    In the Preferences subfolder, there may be several files having names that begin with "com.apple.iChat". Move them all to the Desktop. There may also be a file with the name "com.apple.imagent.plist". Move that to the Trash.
    Also in the Preferences folder, there's a subfolder named "ByHost". Open it and do the same thing.
    Log out and log back in. Test again. This time Messages should perform normally, but your settings will be lost. You may be able to put back some of the files you moved to the Desktop in this step. Relaunch and test after each one. Eventually you should find one or more that causes Messages to malfunction. Delete those files and recreate whatever settings they contained.
    If the issue is still not resolved, quit Messages again and put all the items you moved to the Desktop back where they were. You don’t need to replace the items you moved to the Trash. Stop here and post again.
    If you later decide that you don’t like the results of steps 2 and 3, you can undo them completely by quitting Messages and restoring the items you deleted in those steps from your backup.

  • Help...my Messages doesn't work. Any suggestions of how to fix this?

    Help...my Messages doesn't work. When I click on the Messages button, my phone thinks for a minute and then goes back to the main screne. Any suggestions of how to fix this?

    Try a reset: Press the Sleep/Wake button and the Home button at the same time for ten seconds until the Apple logo appears. Note: No data will be lost 

  • My iphone 4 went into recovery mode for some reason and it is unable to be restored. any ideas how to fix this?

    my iphone went into recovery mode for some reason and is unable to be restored. it wont turn on and when plugged into a charger it shows a usb and itunes symbol. so i plugged it into my mac and connected to itunes then itunes said it has detected a phone in recovery mode and needs to be restored. so it goes through the restoration process for a couple minutes or so then stops and says itunes is unable to restore because an unknown error occurred (2001) or (2006) and other times i try it says its unable to restore because itunes cant detect the device... any ideas how to fix this?

    Errors 2000-2009 (from Apple support): If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604. If the issue persists, it may be related to conflicting security software.
    2001: Use up to date software. Make sure your device is in DFU Mode: http://www.iclarified.com/entry/index.php?enid=1034
    2006: Use a different USB cable. Possibly the one that came with your iPhone.

Maybe you are looking for