Rev 219 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
215 | jmachado | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | |||
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">--> |
||
6 | |||
7 | <struts-config> |
||
8 | |||
9 | |||
10 | <form-beans> |
||
11 | <form-bean type="pt.estgp.estgweb.web.form.profile.ProfileForm" name="ProfileForm"/> |
||
12 | </form-beans> |
||
13 | |||
14 | <global-exceptions> |
||
15 | </global-exceptions> |
||
16 | |||
17 | <global-forwards> |
||
18 | </global-forwards> |
||
19 | |||
20 | |||
21 | <action-mappings> |
||
22 | |||
23 | |||
24 | |||
25 | <action path="/findProfile" forward="page.find.profile"/> |
||
26 | |||
27 | |||
28 | |||
29 | <action path="/user/findProfile" forward="page.find.profile.from.service.zone"/> |
||
30 | |||
31 | |||
32 | |||
33 | <action path="/startProfileCode" forward="/profile.do?dispatch=homeCode"/> |
||
34 | <action path="/startProfile" forward="/profile.do?dispatch=home"/> |
||
35 | <action path="/profile" |
||
36 | type="pt.estgp.estgweb.web.controllers.profile.ProfileController" |
||
37 | name="ProfileForm" |
||
38 | scope="request" |
||
39 | parameter="dispatch" |
||
40 | validate="false" |
||
41 | input="page.welcome"> |
||
42 | <forward name="home" path="page.profile"/> |
||
43 | </action> |
||
44 | |||
45 | |||
46 | <!--Profile--> |
||
47 | <!--Mudar o perfil da area de pesquisa e servico pelo administrador--> |
||
48 | <action path="/user/startProfileFromSearchUsers" forward="/user/profileFromSearchUsers.do?dispatch=changeProfile&from=SearchUsers"/> |
||
49 | <action path="/user/startDeleteProfileFromSearchUsers" forward="/user/profileFromSearchUsers.do?dispatch=delete&from=SearchUsers"/> |
||
50 | <action path="/user/profileFromSearchUsers" |
||
51 | type="pt.estgp.estgweb.web.controllers.profile.ProfileController" |
||
52 | name="ProfileForm" |
||
53 | scope="request" |
||
54 | parameter="dispatch" |
||
55 | validate="false" |
||
56 | input="page.load.profile.from.searchUsers"><!--tODO sEARCH USERS--> |
||
57 | <forward name="success" path="page.separators.serviceZone"/> |
||
58 | <forward name="personalData" path="page.load.profile.from.searchUsers"/> |
||
59 | <forward name="search" path="page.find.profile.from.searchUsers"/> |
||
60 | <forward name="from.add.role" path="page.load.profile.from.searchUsers"/> |
||
61 | </action> |
||
62 | |||
63 | |||
64 | |||
65 | |||
66 | <!--Mudar o perfil da area de servico pelo administrador--> |
||
67 | <action path="/user/startProfileFromServiceZone" forward="/user/profileFromServiceZone.do?dispatch=changeProfile&from=ServiceZone"/> |
||
68 | <action path="/user/startNewUserFromServiceZone" forward="/user/profileFromServiceZone.do?dispatch=newUser&from=ServiceZone"/> |
||
69 | <action path="/user/startNewStudentFromServiceZone" forward="/user/profileFromServiceZone.do?dispatch=newStudent&from=ServiceZone"/> |
||
70 | <action path="/user/startNewTeacherFromServiceZone" forward="/user/profileFromServiceZone.do?dispatch=newTeacher&from=ServiceZone"/> |
||
71 | <action path="/user/profileFromServiceZone" |
||
72 | type="pt.estgp.estgweb.web.controllers.profile.ProfileController" |
||
73 | name="ProfileForm" |
||
74 | scope="request" |
||
75 | parameter="dispatch" |
||
76 | validate="false" |
||
77 | input="page.load.profile.from.service.zone"> |
||
78 | <forward name="success" path="page.separators.serviceZone"/> |
||
79 | <forward name="personalData" path="page.load.profile.from.service.zone"/> |
||
80 | <forward name="search" path="page.find.profile.from.service.zone"/> |
||
81 | <forward name="from.add.role" path="page.load.profile.from.service.zone"/> |
||
82 | </action> |
||
83 | |||
84 | |||
85 | <!-- Mudar o perfil pelo proprio utilizador --> |
||
225 | jmachado | 86 | <action path="/user/startDeleteRecordProfile" forward="/user/profile.do?dispatch=deleteRecord"/> |
87 | <action path="/user/startChangeRecordProfile" forward="/user/profile.do?dispatch=loadEditRecord"/> |
||
215 | jmachado | 88 | <action path="/user/startCreateRecordProfile" forward="/user/profile.do?dispatch=createRecord"/> |
89 | <action path="/user/startProfileFromHome" forward="/user/profile.do?dispatch=home&from=Home"/> |
||
90 | <action path="/user/startProfile" forward="/user/profile.do?dispatch=home&from=Home"/> |
||
91 | <action path="/user/startChangeProfile" forward="/user/profile.do?dispatch=changeProfile"/> |
||
92 | <action path="/user/startProfileCurriculum" forward="/user/profile.do?dispatch=curriculum"/> |
||
219 | jmachado | 93 | <action path="/user/startProfileGrades" forward="/user/profile.do?dispatch=grades"/> |
215 | jmachado | 94 | <action path="/user/profile" |
95 | type="pt.estgp.estgweb.web.controllers.profile.ProfileController" |
||
96 | name="ProfileForm" |
||
97 | scope="request" |
||
98 | parameter="dispatch" |
||
99 | validate="false" |
||
100 | input="page.profile.personal.data"> |
||
101 | <forward name="success" path="page.separators.profile"/> |
||
102 | <forward name="search" path="page.find.profile"/> |
||
103 | <forward name="from.add.role" path="page.profile.personal.data"/> |
||
104 | |||
105 | <forward name="home" path="page.separators.profile"/> |
||
106 | <forward name="personalData" path="page.profile.personal.data"/> |
||
107 | <forward name="curriculum" path="page.profile.curriculum"/> |
||
219 | jmachado | 108 | <forward name="grades" path="page.profile.grades"/> |
215 | jmachado | 109 | </action> |
110 | </action-mappings> |
||
111 | |||
112 | </struts-config> |