Rev 1814 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | |||
369 | jmachado | 3 | <!--<!DOCTYPE struts-config PUBLIC--> |
4 | <!--"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"--> |
||
5 | <!--"http://struts.apache.org/dtds/struts-config_1_3.dtd">--> |
||
1 | fvelez | 6 | |
7 | <struts-config> |
||
8 | |||
9 | |||
10 | <form-beans> |
||
11 | <!-- Import --> |
||
12 | <!--<form-bean type="pt.estgp.estgweb.web.form.announcements.AnnouncementsForm" name="AnnouncementsForm"/>--> |
||
673 | jmachado | 13 | <form-bean type="pt.estgp.estgweb.web.form.EmptyForm" name="EmptyForm"/> |
1 | fvelez | 14 | <!--<form-bean type="com.innovkey.opt.imports.web.ImportForm" name="ImportForm"/>--> |
15 | </form-beans> |
||
16 | |||
17 | <global-exceptions> |
||
368 | jmachado | 18 | <exception key="error.401" type="pt.estgp.estgweb.web.exceptions.NotAuthorizedException" path="/error401.do"/> |
1 | fvelez | 19 | </global-exceptions> |
20 | |||
21 | <global-forwards> |
||
1830 | jmachado | 22 | <forward name="welcomeV2" path="/StartAuthentication.do"/> |
1 | fvelez | 23 | <forward name="welcome" path="/Welcome.do"/> |
1830 | jmachado | 24 | <forward name="userHome" path="/user/home.do"/> |
25 | <forward name="userHomePae" path="/user/homePae.do"/> |
||
901 | jmachado | 26 | <forward name="welcomeBootstrap" path="/WelcomeBootstrap.do"/> |
336 | jmachado | 27 | <forward name="error503" path="/error503.do"/> |
1 | fvelez | 28 | <forward name="error500" path="/error500.do"/> |
29 | <forward name="error404" path="/error404.do"/> |
||
30 | <forward name="error401" path="/error401.do"/> |
||
1005 | jmachado | 31 | <forward name="error408" path="/error408.do"/> |
1 | fvelez | 32 | <forward name="errorNoCookies" path="page.no.cookies"/> |
1153 | jmachado | 33 | <forward name="jsonOk" path="page.service.json.ok"/> |
1 | fvelez | 34 | |
35 | <!--Announcements--> |
||
36 | |||
1576 | jmachado | 37 | |
1 | fvelez | 38 | </global-forwards> |
39 | |||
40 | |||
1576 | jmachado | 41 | |
1 | fvelez | 42 | <action-mappings> |
43 | |||
44 | |||
45 | |||
46 | |||
47 | <!-- Start Pages --> |
||
48 | |||
1312 | jmachado | 49 | |
1 | fvelez | 50 | <action path="/Welcome" forward="page.welcome"/> |
901 | jmachado | 51 | <action path="/WelcomeBootstrap" forward="page.welcome.bootstrap"/> |
1 | fvelez | 52 | <action path="/StartAuthentication" forward="page.authentication"/> |
53 | <action path="/Logout" forward="/authenticate.do?dispatch=logout"/> |
||
368 | jmachado | 54 | |
1 | fvelez | 55 | <!-- Errors --> |
56 | <action path="/errorNoCookies" forward="page.no.cookies"/> |
||
57 | <action path="/error401" forward="page.error.401"/> |
||
58 | <action path="/error404" forward="page.error.404"/> |
||
1005 | jmachado | 59 | <action path="/error408" forward="page.error.408"/> |
1 | fvelez | 60 | <action path="/error500" forward="page.error.500"/> |
336 | jmachado | 61 | <action path="/error503" forward="page.error.503"/> |
1 | fvelez | 62 | |
368 | jmachado | 63 | <!--Layout Forward--> |
64 | <action path="/dirLayout" |
||
1314 | jmachado | 65 | type="pt.estgp.estgweb.web.DirLayoutController"> |
368 | jmachado | 66 | <forward name="layoutEmpty" path="page.layoutEmpty.dir"/> |
67 | <forward name="layout0" path="page.layout0.dir"/> |
||
68 | <forward name="layout1" path="page.layout1.dir"/> |
||
69 | <forward name="layout2" path="page.layout2.dir"/> |
||
70 | <forward name="layout3" path="page.layout3.dir"/> |
||
71 | <forward name="layout4" path="page.layout4.dir"/> |
||
539 | jmachado | 72 | <forward name="layoutWelcome" path="page.layoutWelcome.dir"/> |
381 | jmachado | 73 | <forward name="layoutIntranetUtils" path="page.layoutIntranetUtils.dir"/> |
368 | jmachado | 74 | <forward name="layoutPortal" path="page.layoutPortal.dir"/> |
75 | </action> |
||
1 | fvelez | 76 | <!--Layout Forward--> |
77 | <action path="/layout" |
||
1314 | jmachado | 78 | type="pt.estgp.estgweb.web.LayoutController"> |
1 | fvelez | 79 | <forward name="layout1" path="page.layout1.proxy"/> |
80 | <forward name="layout2" path="page.layout2.proxy"/> |
||
81 | <forward name="layout3" path="page.layout3.proxy"/> |
||
82 | <forward name="layout4" path="page.layout4.proxy"/> |
||
539 | jmachado | 83 | <forward name="layoutWelcome" path="page.layoutWelcome.proxy"/> |
39 | fvelez | 84 | |
40 | fvelez | 85 | <!--Alunos--> |
86 | <forward name="orgaosAlunosPortalMenu" path="page.alunosOrgaosPortalMenu.proxy"/> |
||
87 | <forward name="contactosAlunosPortalMenu" path="page.alunosContactosPortalMenu.proxy"/> |
||
88 | <forward name="institutoPolitecnicoAlunosPortalMenu" path="page.alunosInstitutoPolitecnicoPortalMenu.proxy"/> |
||
89 | <forward name="accaoSocialAlunosPortalMenu" path="page.alunosAccaoSocialPortalMenu.proxy"/> |
||
90 | <forward name="servicosAlunosPortalMenu" path="page.alunosServicosPortalMenu.proxy"/> |
||
400 | jmachado | 91 | <forward name="bibliotecaAlunosPortalMenu" path="page.alunosBibliotecaPortalMenu.proxy"/> |
40 | fvelez | 92 | <forward name="informacaoAcademicaAlunosPortalMenu" path="page.alunosInformacaoAcademicaPortalMenu.proxy"/> |
93 | <forward name="mobilidadeAlunosPortalMenu" path="page.alunosMobilidadePortalMenu.proxy"/> |
||
94 | <!--Futuros Alunos--> |
||
95 | <forward name="estgFuturosAlunosPortalMenu" path="page.futurosAlunosEstgPortalMenu.proxy"/> |
||
96 | <forward name="servicosFuturosAlunosPortalMenu" path="page.futurosAlunosServicosPortalMenu.proxy"/> |
||
97 | <forward name="contactosFuturosAlunosPortalMenu" path="page.futurosAlunosContactosPortalMenu.proxy"/> |
||
98 | <forward name="institutoPolitecnicoFuturosAlunosPortalMenu" path="page.futurosAlunosInstitutoPolitecnicoPortalMenu.proxy"/> |
||
99 | <forward name="informacaoAcademicaFuturosAlunosPortalMenu" path="page.futurosAlunosInformacaoAcademicaPortalMenu.proxy"/> |
||
100 | <forward name="mobilidadeFuturosAlunosPortalMenu" path="page.futurosAlunosMobilidadePortalMenu.proxy"/> |
||
101 | <forward name="accaoSocialFuturosAlunosPortalMenu" path="page.futurosAlunosAccaoSocialPortalMenu.proxy"/> |
||
102 | <forward name="orgaosFuturosAlunosPortalMenu" path="page.futurosAlunosOrgaosPortalMenu.proxy"/> |
||
103 | <!--Antigos Alunos--> |
||
104 | <forward name="estgAntigosAlunosPortalMenu" path="page.antigosAlunosEstgPortalMenu.proxy"/> |
||
105 | <forward name="servicoAntigosAlunosPortalMenu" path="page.antigosAlunosServicoPortalMenu.proxy"/> |
||
106 | <forward name="actividadesAntigosAlunosPortalMenu" path="page.antigosAlunosActividadesPortalMenu.proxy"/> |
||
107 | <forward name="institutoPolitecnicoAntigosAlunosPortalMenu" path="page.antigosAlunosInstitutoPolitecnicoPortalMenu.proxy"/> |
||
108 | <forward name="contactosAntigosAlunosPortalMenu" path="page.antigosAlunosContactosPortalMenu.proxy"/> |
||
109 | <!--Docentes--> |
||
110 | <forward name="servicosDocentesPortalMenu" path="page.docentesServicosPortalMenu.proxy"/> |
||
111 | <forward name="contactosDocentesPortalMenu" path="page.docentesContactosPortalMenu.proxy"/> |
||
112 | <forward name="informacaoAcademicaDocentesPortalMenu" path="page.docentesInformacaoAcademicaPortalMenu.proxy"/> |
||
113 | <forward name="mobilidadeDocentesPortalMenu" path="page.docentesMobilidadePortalMenu.proxy"/> |
||
400 | jmachado | 114 | <forward name="bibliotecaDocentesPortalMenu" path="page.docentesBibliotecaPortalMenu.proxy"/> |
40 | fvelez | 115 | <forward name="accaoSocialDocentesPortalMenu" path="page.docentesAccaoSocialPortalMenu.proxy"/> |
116 | <forward name="orgaosDocentesPortalMenu" path="page.docentesOrgaoPortalMenu.proxy"/> |
||
117 | <forward name="institutoPolitecnicoDocentesPortalMenu" path="page.docentesInstitutoPolitecnicoPortalMenu.proxy"/> |
||
61 | fvelez | 118 | <!--Assessoria Administracao--> |
119 | <forward name="layoutAA" path="page.layoutAA.proxy"/> |
||
120 | <!--Nucleo de Engenharia--> |
||
121 | <forward name="layoutNucleoEng" path="page.layoutNucleoENG.proxy"/> |
||
39 | fvelez | 122 | |
40 | fvelez | 123 | |
249 | jmachado | 124 | <!--TopMenu layouts--> |
125 | <forward name="conselhoPedagogico" path="page.conselhoPedagogico.proxy"/> |
||
126 | <forward name="conselhoCientifico" path="page.conselhoCientifico.proxy"/> |
||
127 | <forward name="conselhoDirectivo" path="page.conselhoDirectivo.proxy"/> |
||
128 | <forward name="assembleiaRepresentantes" path="page.assembleiaRepresentantes.proxy"/> |
||
129 | |||
130 | <forward name="areas" path="page.areas.proxy"/> |
||
131 | <forward name="areaEG" path="page.areaEG.proxy"/> |
||
132 | <forward name="areaDG" path="page.areaDG.proxy"/> |
||
133 | <forward name="areaCE" path="page.areaCE.proxy"/> |
||
134 | <forward name="areaCH" path="page.areaCH.proxy"/> |
||
135 | |||
506 | jmachado | 136 | <forward name="departamentos" path="page.departamentos.proxy"/> |
137 | <forward name="depTD" path="page.depTD.proxy"/> |
||
138 | <forward name="depCESH" path="page.depCESH.proxy"/> |
||
368 | jmachado | 139 | |
506 | jmachado | 140 | |
1 | fvelez | 141 | <forward name="layoutCourses" path="page.layoutCourses.proxy"/> |
142 | <forward name="layout1.ftp" path="page.layout1.proxy.ftp"/> |
||
143 | <forward name="layout2.ftp" path="page.layout2.proxy.ftp"/> |
||
144 | <forward name="layout3.ftp" path="page.layout3.proxy.ftp"/> |
||
145 | <forward name="layout4.ftp" path="page.layout4.proxy.ftp"/> |
||
146 | <forward name="layoutCourses.ftp" path="page.layoutCourses.proxy.ftp"/> |
||
165 | jmachado | 147 | <forward name="layoutIOnline.ftp" path="page.layoutIOnline.proxy.ftp"/> |
220 | jmachado | 148 | |
223 | jmachado | 149 | <forward name="courseLayoutIOnlineContents.ftp" path="page.courseLayoutIOnlineContents.proxy.ftp"/> |
150 | <forward name="courseLayoutIOnlineGrades.ftp" path="page.courseLayoutIOnlineGrades.proxy.ftp"/> |
||
151 | <forward name="courseLayoutIOnlinePresences.ftp" path="page.courseLayoutIOnlinePresences.proxy.ftp"/> |
||
901 | jmachado | 152 | <forward name="courseLayoutIOnlineDtp.ftp" path="page.courseLayoutIOnlineDtp.proxy.ftp"/> |
223 | jmachado | 153 | |
220 | jmachado | 154 | <forward name="layoutIntranetUtils" path="page.layoutIntranetUtils.proxy"/> |
381 | jmachado | 155 | <forward name="layoutIntranetContacts" path="page.layoutIntranetContacts.proxy"/> |
249 | jmachado | 156 | <forward name="layoutIntranetUtilsOrg" path="page.layoutIntranetUtilsOrg.proxy"/> |
157 | <forward name="layoutIntranetUtilsSecretaria" path="page.layoutIntranetUtilsSecretaria.proxy"/> |
||
158 | <forward name="layoutIntranetUtilsSecretariaConfigurable" path="page.layoutIntranetUtilsSecretariaConfigurable.proxy"/> |
||
159 | <forward name="layoutIntranetUtilsEnsino" path="page.layoutIntranetUtilsEnsino.proxy"/> |
||
160 | <forward name="layoutIntranetUtilsHorarios" path="page.layoutIntranetUtilsHorarios.proxy"/> |
||
161 | <forward name="layoutIntranetUtilsBolonha" path="page.layoutIntranetUtilsBolonha.proxy"/> |
||
162 | |||
163 | <!-- Layouts for FTP Calls from Intranet see intranetNav Documentation in EAP project --> |
||
164 | <forward name="utilsLayoutIOnlineActas.ftp" path="page.utilsLayoutIOnlineActas.proxy.ftp"/> |
||
165 | <forward name="utilsLayoutIOnlineConfigurable.ftp" path="page.utilsLayoutIOnlineConfigurable.proxy.ftp"/> |
||
1 | fvelez | 166 | </action> |
167 | |||
417 | jmachado | 168 | |
169 | |||
39 | fvelez | 170 | <!--Portal Forward--> |
171 | <action path="/student" forward="page.portal.student"/> |
||
172 | <action path="/futureStudent" forward="page.portal.futureStudent"/> |
||
173 | <action path="/oldStudent" forward="page.portal.oldStudent"/> |
||
174 | <action path="/teacher" forward="page.portal.teacher"/> |
||
175 | |||
1 | fvelez | 176 | <!--Authentication--> |
177 | <action path="/authenticate" |
||
178 | type="pt.estgp.estgweb.web.controllers.authenticate.AuthenticateController" |
||
179 | name="EmptyForm" |
||
180 | scope="request" |
||
181 | parameter="dispatch" |
||
182 | validate="false" |
||
183 | input="page.authentication"> |
||
152 | jmachado | 184 | <forward name="success" path="page.separators.home"/> |
1830 | jmachado | 185 | <!--<forward name="logout" path="page.logout.ok"/>--> |
186 | <forward name="logout" path="page.authentication"/> |
||
61 | fvelez | 187 | <forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/> |
1 | fvelez | 188 | </action> |
189 | |||
190 | |||
1576 | jmachado | 191 | |
192 | |||
193 | |||
1 | fvelez | 194 | </action-mappings> |
1576 | jmachado | 195 | <!--20 Megabytes upload max size can go until 700 MB nao se sabe porque |
196 | pontos possiveis de ajuste Fazer um UPLOAD Servlet |
||
197 | ver mais em app.properties max.file.size.upload.mbytes |
||
198 | |||
199 | aqui esta 50 para permitir ao App controlar e poder ser aumentado nao sendo afetado por este parametro |
||
200 | --> |
||
201 | <controller maxFileSize="50971520" processorClass="org.apache.struts.tiles.TilesRequestProcessor" /> |
||
1283 | jmachado | 202 | <!--<message-resources parameter="MessageResources"/>--> |
1814 | jmachado | 203 | <message-resources parameter="MessageResources" factory="pt.estgp.estgweb.domain.utils.ReloadablePropertyMessageResourcesFactory"/> |
1 | fvelez | 204 | |
1314 | jmachado | 205 | |
1 | fvelez | 206 | <plug-in className="org.apache.struts.tiles.TilesPlugin"> |
207 | <set-property property="definitions-config" |
||
1314 | jmachado | 208 | value="/WEB-INF/struts/tiles-default.xml, |
808 | jmachado | 209 | /WEB-INF/struts/tiles-assessments.xml, |
1 | fvelez | 210 | /WEB-INF/struts/tiles-announcements.xml, |
211 | /WEB-INF/struts/tiles-banners.xml, |
||
212 | /WEB-INF/struts/tiles-courseunits.xml, |
||
214 | jmachado | 213 | /WEB-INF/struts/tiles-courses.xml, |
1 | fvelez | 214 | /WEB-INF/struts/tiles-events.xml, |
215 | /WEB-INF/struts/tiles-ftpclient.xml, |
||
216 | /WEB-INF/struts/tiles-processworkflow.xml, |
||
215 | jmachado | 217 | /WEB-INF/struts/tiles-profile.xml, |
75 | jmachado | 218 | /WEB-INF/struts/tiles-urlstat.xml, |
92 | jmachado | 219 | /WEB-INF/struts/tiles-blog.xml, |
152 | jmachado | 220 | /WEB-INF/struts/tiles-commons.xml, |
163 | jmachado | 221 | /WEB-INF/struts/tiles-intranet.xml, |
215 | jmachado | 222 | /WEB-INF/struts/tiles-reminders.xml, |
456 | jmachado | 223 | /WEB-INF/struts/tiles-managedidentifier.xml, |
673 | jmachado | 224 | /WEB-INF/struts/tiles-srusource.xml, |
726 | jmachado | 225 | /WEB-INF/struts/tiles-survey.xml, |
851 | jmachado | 226 | /WEB-INF/struts/tiles-processes.xml, |
1048 | jmachado | 227 | /WEB-INF/struts/tiles-comunicationfolder.xml, |
1312 | jmachado | 228 | /WEB-INF/struts/tiles-configuration.xml, |
229 | /WEB-INF/struts/tiles-pagecontent.xml, |
||
1314 | jmachado | 230 | /WEB-INF/struts/tiles-pae.xml, |
1524 | jmachado | 231 | /WEB-INF/struts/tiles-pae-questionarios.xml, |
1576 | jmachado | 232 | /WEB-INF/struts/tiles-pae-eventos.xml, |
1616 | jmachado | 233 | /WEB-INF/struts/tiles-jsonwidget.xml, |
1670 | jmachado | 234 | /WEB-INF/struts/examples/tiles-example-jsonwidget.xml, |
235 | /WEB-INF/struts/tiles-bpmn.xml, |
||
236 | /WEB-INF/struts/tiles-repositorydocs.xml"/> |
||
1 | fvelez | 237 | </plug-in> |
673 | jmachado | 238 | |
1314 | jmachado | 239 | |
673 | jmachado | 240 | </struts-config> |