private void setupMaritalControls() { // Setup Marital Controls if (form.cmbMaritalStatus().getValue() == null) { disableMaritalStatusControls(); return; } if (form.cmbMaritalStatus().getValue().getId() != MaritalStatus.SINGLE.getId()) form.pdtMYear().setEnabled(true); else { disableMaritalStatusControls(); } }
private void setupMaritalControls() { // Setup Marital Controls if (form.container1().cmbMaritalStatus().getValue() == null) { disableMaritalStatusControls(); return; } if (form.container1().cmbMaritalStatus().getValue().getId() != MaritalStatus.SINGLE.getId()) form.container1().pdtYear().setEnabled(true); else { disableMaritalStatusControls(); } }
private void setupMaritalControls() { // Setup Marital Controls if (form.cmbMaritalStat().getValue() == null) { disableMaritalStatusControls(); return; } if (form.cmbMaritalStat().getValue().getId() != MaritalStatus.SINGLE.getId()) form.pdtMaritalStatus().setEnabled(true); else { disableMaritalStatusControls(); } }