Hi - Question. I have a ViewItemModel with a Strin...
# tornadofx
d
Hi - Question. I have a ViewItemModel with a StringProperty. Now when i open a new window and inject exactly this ViewItemModel there, i see the actual value in the textfield. The commit and rollback functionalty is as well working. When i commit from the new window, the change is also in the old window. But i get an exception thrown that "java.lang.RuntimeException: A bound value cannot be set." I guess thats something javafx specific..?
figured it finally out .. but i do not get why. So i have a ListView in which i use the cellFormat to make listitems with a picture. If have a checkbox with a BooleanBinding indicating if to show or pictures. Inside the cellFormat i need to bindBidirectional my it.showPictureProperty .. if just bind it unidirectional there is an error that it cant set the value. I just wonder - i did not change this value when i commit.. if somebody is interested i can make a gist - but i guess a solved problem is not so interesting for most 😄