Issue Details (XML | Word | Printable)

Key: BETTERBEANSBINDING-55
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: fabriziogiudici
Reporter: areann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BetterBeansBinding

no sync failed is reported in swing bindings

Created: 26/Dec/09 01:31 PM   Updated: 26/Dec/09 01:31 PM
Component/s: SwingBinding
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:


 Description  « Hide

I try to use bbb to bind model properties to an swing gui. If I try to bind an JTextField to an int property everything works fine as long as the textfield contains an valid integer. if the textfield contains an string the binding failed and only in the log file you can find the reason. I want to show the user an message 'There is something wrong with your number' but there's no callback for me to get the information 'the mapping failed'. I try to use an Bindinglistener but the syncFailed method is never called. see comment in org.jdesktop.beansbinding.Binding.getSourceValueForTarget(Binding.java:844).



There are no comments yet on this issue.