I've 2 ComboBoxes on my screen. Each desgined as per MVC approach. I'm getting the data for the first ComboBox from Database in JSON format.
Now the question is, The Second ComboBox need to be loaded based on the element selected in the First ComboBox. i.e, The item selected in the First Combo Box has to be accessed from the controller of the second combo Box and the selected item has to be appended to the URL in the Store of the second combo box.
Example : The URL to get the data for the Second Combo Box is
URL : /app/data/getValueList.jsp?attribute='<Item_Selected_In_First_Combo_Box>'
How to get this done? I need to get the item selected in the First combo and append that to the URL of the Second Combo. The code is in MVC. Each combo box have its own View, Store and Controller.
Please let me know how we can do this?