I have a form with a combobox in it that is connected to a datasource. When the combox icon is clicked it goes to the server and displays some data. The data is dynamic so when the user clicks on the combo box again, i want it to go back to the server can get the data again. The problem i have is that it only gets the data once. I thought it was caching the data so i set dont cache but the problem is still there.
ComboBoxItem driveCombo = new ComboBoxItem("USB Drives");
driveCombo.setAddUnknownValues(false);
driveCombo.setCachePickListResults(false);
DynamicForm form = new DynamicForm();
form.setDataSource(DataSource.get(DRIVEDIR_STR), driveCombo);
So how do i get it to refresh or pull the data form the server every time the user clicks on the combobox?
ComboBoxItem driveCombo = new ComboBoxItem("USB Drives");
driveCombo.setAddUnknownValues(false);
driveCombo.setCachePickListResults(false);
DynamicForm form = new DynamicForm();
form.setDataSource(DataSource.get(DRIVEDIR_STR), driveCombo);
So how do i get it to refresh or pull the data form the server every time the user clicks on the combobox?
Comment