public void create() { persist( PersistAction.CREATE, ResourceBundle.getBundle("/Bundle").getString("CampaignListElementsCreated")); if (!JsfUtil.isValidationFailed()) { items = null; // Invalidate list of items to trigger re-query. } }
public void destroy() { persist( PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("CampaignListElementsDeleted")); if (!JsfUtil.isValidationFailed()) { selected = null; // Remove selection items = null; // Invalidate list of items to trigger re-query. } }