107108109110111112113114115116117
// do nothing } // set notifications if(date == null){ notificationBean.addError("Please enter a valid date"); } if(amount == 0){ notificationBean.addError("Please enter an valid amount"); }
110111112113114115116117118119120
// set notifications if(date == null){ notificationBean.addError("Please enter a valid date"); } if(amount == 0){ notificationBean.addError("Please enter an valid amount"); } // store data if(notificationBean.getErrorCount() == 0 ){