Rev 1338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1338 | Rev 1379 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | public class QuestionarioCourseSelectionController extends QuestionarioController |
22 | public class QuestionarioCourseSelectionController extends QuestionarioController |
23 | { |
23 | { |
24 | 24 | ||
25 | private static final 1.5.0/docs/api/java/util/logging/Logger.html">Logger logger = 1.5.0/docs/api/java/util/logging/Logger.html">Logger.getLogger(QuestionarioCourseSelectionController.class); |
25 | private static final 1.5.0/docs/api/java/util/logging/Logger.html">Logger logger = 1.5.0/docs/api/java/util/logging/Logger.html">Logger.getLogger(QuestionarioCourseSelectionController.class); |
26 | 26 | ||
- | 27 | ||
- | 28 | ||
- | 29 | public ActionForward assignAnswers(ActionMapping mapping, |
|
- | 30 | ActionForm form, |
|
- | 31 | HttpServletRequest request, |
|
- | 32 | HttpServletResponse response) |
|
- | 33 | throws 1.5.0/docs/api/java/lang/Throwable.html">Throwable |
|
- | 34 | { |
|
- | 35 | QuestionarioForm frm = (QuestionarioForm) form; |
|
- | 36 | ||
- | 37 | IServiceManager sm = ServiceManager.getInstance(); |
|
- | 38 | 1.5.0/docs/api/java/lang/String.html">String[] names = {"questionarioId"}; |
|
- | 39 | 5+0%2Fdocs%2Fapi+Object">Object[] args = {frm.getQuestionario().getId()}; |
|
- | 40 | ||
- | 41 | QuestionarioImpl q = (QuestionarioImpl) sm.execute(RequestUtils.getRequester(request, response),"RunJobAssignAnswers",args,names); |
|
- | 42 | ||
- | 43 | frm.setQuestionario(q); |
|
- | 44 | ||
- | 45 | addMessage(request,"questionarios.answers.start"); |
|
- | 46 | return mapping.findForward("assignAnswers"); |
|
- | 47 | } |
|
- | 48 | ||
27 | public ActionForward selectCourses(ActionMapping mapping, |
49 | public ActionForward selectCourses(ActionMapping mapping, |
28 | ActionForm form, |
50 | ActionForm form, |
29 | HttpServletRequest request, |
51 | HttpServletRequest request, |
30 | HttpServletResponse response) |
52 | HttpServletResponse response) |
31 | throws 1.5.0/docs/api/java/lang/Throwable.html">Throwable |
53 | throws 1.5.0/docs/api/java/lang/Throwable.html">Throwable |