I had created one combo box in the menuview screen for some users when menuview gets load on the by the login screen screen dialog box first appears on the screen user select value from the dialog box and the selected value is displayed on the combo box created on the right side of the screen.
but in some scenario if particular submenu is clicked the dialog box appear on the screen if any value is selected it must reflected in the combo box created in the menuview screen on the top right side.
How to pass value from any screen to the menuview screen and combo box must be refresh the updated set value.
And then, just use the installation of a new value through the binder where you need it:
@Autowired
private ComboBoxBinder comboBoxBinder;
public void someMethod() {
comboBoxBinder.updateParameters(newListOfParmaeters);
}
Second way
This way will be more correct.
You need to create an event to signal the update of data in the ComboBox. In the place that you need, you need to publish an event with a set of parameters for setting.
In the MainView, create a listener for the event that will update the data in the comboBox.