public ActionForward preparePublic(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
String inputPage = request.getParameter(PresentationConstants.INPUT_PAGE);
InfoExecutionPeriod infoExecutionPeriod =
(InfoExecutionPeriod) request.getAttribute(PresentationConstants.EXECUTION_PERIOD);
// TODO: this semester and curricular year list needs to be refactored
// in order to incorporate masters
/* Criar o bean de semestres */
List<LabelValueBean> semestres = new ArrayList<LabelValueBean>();
semestres.add(new LabelValueBean("escolher", ""));
semestres.add(new LabelValueBean("1 �", "1"));
semestres.add(new LabelValueBean("2 �", "2"));
request.setAttribute("semestres", semestres);
/* Criar o bean de anos curricutares */
List<LabelValueBean> anosCurriculares = new ArrayList<LabelValueBean>();
anosCurriculares.add(new LabelValueBean("escolher", ""));
anosCurriculares.add(new LabelValueBean("1 �", "1"));
anosCurriculares.add(new LabelValueBean("2 �", "2"));
anosCurriculares.add(new LabelValueBean("3 �", "3"));
anosCurriculares.add(new LabelValueBean("4 �", "4"));
anosCurriculares.add(new LabelValueBean("5 �", "5"));
request.setAttribute("curricularYearList", anosCurriculares);
/* Cria o form bean com as licenciaturas em execucao. */
List executionDegreeList = ReadExecutionDegreesByExecutionYear.run(infoExecutionPeriod.getInfoExecutionYear());
List<LabelValueBean> licenciaturas = new ArrayList<LabelValueBean>();
licenciaturas.add(new LabelValueBean("escolher", ""));