|
77 | 77 | import org.sakaiproject.tool.assessment.ui.bean.evaluation.QuestionScoresBean;
|
78 | 78 | import org.sakaiproject.tool.assessment.ui.bean.evaluation.SubmissionStatusBean;
|
79 | 79 | import org.sakaiproject.tool.assessment.ui.bean.evaluation.TotalScoresBean;
|
80 |
| -import org.sakaiproject.tool.assessment.ui.bean.util.EmailBean; |
81 | 80 | import org.sakaiproject.tool.assessment.ui.listener.util.ContextUtil;
|
82 | 81 | import org.sakaiproject.tool.assessment.util.BeanSort;
|
83 | 82 | import org.sakaiproject.user.api.User;
|
@@ -124,7 +123,6 @@ public void processAction(ActionEvent ae) throws
|
124 | 123 | QuestionScoresBean questionbean = (QuestionScoresBean) ContextUtil.lookupBean("questionScores");
|
125 | 124 | HistogramScoresBean histobean = (HistogramScoresBean) ContextUtil.lookupBean("histogramScores");
|
126 | 125 | SubmissionStatusBean submissionbean = (SubmissionStatusBean) ContextUtil.lookupBean("submissionStatus");
|
127 |
| - EmailBean emailBean = (EmailBean) ContextUtil.lookupBean("email"); |
128 | 126 |
|
129 | 127 | // we probably want to change the poster to be consistent
|
130 | 128 | String publishedId = ContextUtil.lookupParam("publishedId");
|
@@ -166,12 +164,8 @@ public void processAction(ActionEvent ae) throws
|
166 | 164 | sb.append(" ");
|
167 | 165 | sb.append(agent.getLastName());
|
168 | 166 | bean.setGraderName(sb.toString());
|
169 |
| - emailBean.setFromName(agent.getEmail()); |
170 |
| - // Set from email here. We need it to decide if the Email link should be displayed or not. |
171 |
| - // (if from email is null, we don't display the Email link) |
172 |
| - // as well. |
| 167 | + // Set grader email info to be used to determine if mailto links should be shown |
173 | 168 | bean.setGraderEmailInfo(agent.getEmail());
|
174 |
| - emailBean.setFromEmailAddress(agent.getEmail()); |
175 | 169 |
|
176 | 170 | // checking for permission first
|
177 | 171 | FacesContext context = FacesContext.getCurrentInstance();
|
|
0 commit comments