Index: samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties =================================================================== --- samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties (revision 895) +++ samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties (working copy) @@ -152,7 +152,9 @@ copy_duplicateName_error = You cannot copy a pool to a location where there is a pool with the same name. move_duplicateName_error = Duplicate pool names are not allowed. Please choose another destination or rename the pool you wish to move. duplicateName_error = You cannot have duplicate pool names. Please choose another name. +no_pools_error=There are currently no pools defined. + # Accesskey: all accesskey name start with a_ a_options=o a_title=t Index: samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/questionpool/QuestionPoolBean.java =================================================================== --- samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/questionpool/QuestionPoolBean.java (revision 895) +++ samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/questionpool/QuestionPoolBean.java (working copy) @@ -1210,6 +1210,11 @@ this.sourcePart = ContextUtil.lookupParam("sectionId"); return "copyPool"; } + FacesContext context=FacesContext.getCurrentInstance(); + String err; + err=rb.getString("no_pools_error"); + context.addMessage(null,new FacesMessage(err)); + return "editAssessment"; }