verifying.setVisible(true);
verifyButton.setVisible(false);
requiredLabel.setVisible(false);
results.setVisible(false);
MembershipCriteriaDTO mcdto = new MembershipCriteriaDTO();
// set criteria string.
mcdto.setCriteria(membershipCriteria.getText());
// set theme id/name
String themeIdSelectedValue = themeDropDown.getValue();
mcdto.setThemeId(Long.valueOf(themeIdSelectedValue));
if (mcdto.getThemeId() != -1)
{
mcdto.setThemeName(themeDropDownValues.get(themeIdSelectedValue));
}
// set gallery tab template id/name
String gttIdSelectedValue = tabDropDown.getValue();
mcdto.setGalleryTabTemplateId(Long.valueOf(gttIdSelectedValue));
if (mcdto.getGalleryTabTemplateId() != -1)
{
mcdto.setGalleryTabTemplateName(galleryTabTemplateDropDownValues.get(gttIdSelectedValue));
}
MembershipCriteriaVerificationModel.getInstance().fetch(
new MembershipCriteriaVerificationRequest(mcdto, group.getValue()), false);
}