Rev 214 | Rev 249 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
214 | jmachado | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
||
3 | <%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %> |
||
4 | <%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
||
5 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
||
6 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
||
7 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
||
8 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
||
9 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
||
10 | <jsp:useBean id="CourseView" type="pt.estgp.estgweb.domain.views.CourseView" scope="request"/> |
||
11 | <html:form action="/user/courseControllerFromServiceZone" enctype="multipart/form-data"> |
||
12 | <input type="hidden" name="dispatch" value="submit"/> |
||
13 | <html:hidden property="courseView.id"/> |
||
248 | jmachado | 14 | <logic:present name="CourseView" property="htmlResult"> |
15 | <pre class="log"> |
||
16 | <bean:write name="CourseView" property="htmlResult"/> |
||
17 | </pre> |
||
18 | </logic:present> |
||
214 | jmachado | 19 | <table class="form"> |
20 | <tr> |
||
21 | <th> |
||
22 | <bean:message key="course.code"/> |
||
23 | </th> |
||
24 | <td> |
||
25 | <html:text property="courseView.code"/> |
||
26 | </td> |
||
27 | </tr> |
||
28 | <tr> |
||
29 | <th> |
||
30 | <bean:message key="name"/> |
||
31 | </th> |
||
32 | <td> |
||
33 | <html:text property="courseView.name"/> |
||
34 | </td> |
||
35 | </tr> |
||
36 | <tr> |
||
37 | <th> |
||
38 | <bean:message key="course.degree"/> |
||
39 | </th> |
||
40 | <td> |
||
41 | <html:select property="courseView.degree"> |
||
42 | <html:option value="B">Bacharlato</html:option> |
||
43 | <html:option value="L">Lincenciatura</html:option> |
||
44 | <html:option value="M">Mestrado</html:option> |
||
45 | <html:option value="P">Pós Graduação</html:option> |
||
46 | </html:select> |
||
47 | * SIGES: <bean:write name="CourseForm" property="courseView.degree"/> - Confirmar Mestrados e Pos graduacoes e informar equipa de desenvolvimento |
||
48 | </td> |
||
49 | </tr> |
||
50 | <tr> |
||
51 | <th> |
||
52 | <bean:message key="course.importYear"/> |
||
53 | </th> |
||
54 | <td> |
||
55 | <html:select property="courseView.importYear"> |
||
56 | <logic:iterate id="item" name="CourseForm" property="importYears"> |
||
57 | <html:option value="${item}">${item}</html:option> |
||
58 | </logic:iterate> |
||
59 | </html:select> |
||
60 | </td> |
||
61 | </tr> |
||
62 | <tr> |
||
63 | <th> |
||
64 | <bean:message key="course.institutionalCode"/> |
||
65 | </th> |
||
66 | <td> |
||
67 | <html:text property="courseView.institutionalCode"/> |
||
68 | </td> |
||
69 | </tr> |
||
70 | <tr> |
||
71 | <th> |
||
72 | <bean:message key="course.description"/> |
||
73 | </th> |
||
74 | <td> |
||
75 | <html:textarea property="courseView.description"/> |
||
76 | </td> |
||
77 | </tr> |
||
78 | <tr> |
||
79 | <th> |
||
80 | <bean:message key="course.coordinator"/> |
||
81 | </th> |
||
82 | <td> |
||
83 | <html:select property="courseView.coordinator.id"> |
||
84 | <html:option value="0"> |
||
85 | <bean:message key="none"/> |
||
86 | </html:option> |
||
87 | <logic:present name="CourseForm" property="teachers"> |
||
88 | <logic:iterate id="teacher" name="CourseForm" property="teachers" type="pt.estgp.estgweb.domain.views.UserView"> |
||
89 | <html:option value="${teacher.id}"> |
||
90 | (${teacher.code}) ${teacher.name} |
||
91 | </html:option> |
||
92 | </logic:iterate> |
||
93 | </logic:present> |
||
94 | </html:select> |
||
95 | </td> |
||
96 | </tr> |
||
97 | <tr> |
||
98 | <th> |
||
99 | <bean:message key="course.director"/> |
||
100 | </th> |
||
101 | <td> |
||
102 | <html:select property="courseView.director.id"> |
||
103 | <html:option value="0"> |
||
104 | <bean:message key="none"/> |
||
105 | </html:option> |
||
106 | <logic:present name="CourseForm" property="teachers"> |
||
107 | <logic:iterate id="teacher" name="CourseForm" property="teachers" type="pt.estgp.estgweb.domain.views.UserView"> |
||
108 | <html:option value="${teacher.id}"> |
||
109 | (${teacher.code}) ${teacher.name} |
||
110 | </html:option> |
||
111 | </logic:iterate> |
||
112 | </logic:present> |
||
113 | </html:select> |
||
114 | </td> |
||
115 | </tr> |
||
116 | <tr> |
||
117 | <th> |
||
118 | <bean:message key="course.studies.plan"/> |
||
119 | </th> |
||
120 | <td> |
||
121 | <html:file property="studiesPlan"/> |
||
122 | <logic:present name="CourseView" property="studiesPlan"> |
||
123 | <a href="<%=request.getContextPath()%>/repositoryStream/${CourseView.studiesPlanStreamId}"><bean:message key="course.studies.plan"/></a> (${CourseView.studiesPlanSizeKb} Kb - ${CourseView.studiesPlanDate}) |
||
124 | </logic:present> |
||
125 | <logic:notPresent name="CourseView" property="studiesPlan"> |
||
126 | <bean:message key="course.studies.plan.not.available"/> |
||
127 | </logic:notPresent> |
||
128 | </td> |
||
129 | </tr> |
||
130 | <tr class="buttons"> |
||
131 | <td colspan="2"> |
||
132 | <input type="button" |
||
133 | onclick="set(this.form,'submit');this.form.submit()" |
||
134 | value="<bean:message key="confirm"/>"/> |
||
135 | </td> |
||
136 | </tr> |
||
137 | </table> |
||
138 | |||
139 | </html:form> |