I added onError when Required failed, now works - closed:
                        @Override
                        protected void onError(AjaxRequestTarget target, 
RuntimeException e) {
                                carPartsModel.setCarModel(null);
                                carPartsModel.setCarModelType(null);
                                carModelDDC.setChoices(Collections.EMPTY_LIST);
                                carModelDDC.setEnabled(false);
                                carModelTypeDDC.setEnabled(false);
                                target.addComponent(carModelDDC);
                                target.addComponent(carModelTypeDDC);
                        }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to