Hi everyone, I ran into a problem that seems easy but I could not yet figure out how to solve. I have a ObjectChoiceField and a button. The visibility of the button should be determined based on the selected value of the ChoiceField. If the last item in the ChoiceField is selected, the button should not be visible. But as soon as the user changes the selection (from the last one to any other one), the button should be visible again. I figured that the easiest way to do this is to implement a FieldChangeListener on the ChoiceField and when the selection changes from the last one to another, just add the button to the manager. However, the fieldChanged method on the listener interface is called anytime the user scrolls through the choices (without clicking on the trackwheel to change the actual selection). I need to make the button visible only if the selection actually changes. I tried to override the navigationclick and navigationunclick on the choicefield to understand when the user actually clicks on the trackwheel (trackwheelclick and trackwheelunclick can also be used) but the problem with those methods is that they do not capture the final trackwheel click to change the selection. I mean, when you first click on the choicefield, navigationclick and then navigationunclick is invoked, and after you scroll through the choices and click on the trackwheel again to change the selection, no method is invoked. Because of this I can not figure out whether the user actually changed the selection and can not update the button accordingly. I hope I was able to explain everything
Is there anyone to throw any ideas?
Thanks!