Subversion Repositories bacoAlunos

Rev

Rev 344 | Rev 347 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
214 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
    <form-beans>
10
        <form-bean type="pt.estgp.estgweb.web.form.courses.CourseForm" name="CourseForm"/>
11
    </form-beans>
12
 
13
    <global-exceptions>
14
 
15
    </global-exceptions>
16
 
17
    <global-forwards>
18
 
19
    </global-forwards>
20
 
21
 
22
    <action-mappings>
23
 
249 jmachado 24
        <action path="/courses" forward="page.courses"/>
25
 
214 jmachado 26
        <action path="/startLoadCourse" forward="/courseController.do?dispatch=load"/>
27
        <action path="/courseController"
28
                type="pt.estgp.estgweb.web.controllers.courses.CoursesController"
29
                name="CourseForm"
30
                scope="request"
31
                parameter="dispatch"
32
                validate="false"
33
                input="page.welcome">
34
            <forward name="load" path="page.load.course"/>
35
        </action>
36
 
345 jmachado 37
        <action path="/user/startLoadCoursesProgramsFromServiceZone" forward="/user/courseControllerFromHome.do?dispatch=loadCoursesPrograms&amp;fromDispatch=loadCoursesPrograms&amp;from=ServiceZone"/>
38
        <action path="/user/startLoadDirectedCoordinatedCoursesFromServiceZone" forward="/user/courseControllerFromHome.do?dispatch=loadDirectedCoordininatedCourses&amp;fromDispatch=loadDirectedCoordininatedCourses&amp;from=ServiceZone"/>
214 jmachado 39
        <action path="/user/startSelectCourseFromServiceZone" forward="page.select.course.from.service.zone"/>
40
        <action path="/user/startEditCourseFromServiceZone" forward="/user/courseControllerFromServiceZone.do?dispatch=edit&amp;from=ServiceZone"/>
41
        <action path="/user/startNewCourseFromServiceZone" forward="/user/courseControllerFromServiceZone.do?dispatch=startNew&amp;from=ServiceZone"/>
42
        <action path="/user/startSubmitCourseFromServiceZone" forward="/user/courseControllerFromServiceZone.do?dispatch=submit&amp;from=ServiceZone"/>
43
        <action path="/user/courseControllerFromServiceZone"
44
                type="pt.estgp.estgweb.web.controllers.courses.CoursesController"
45
                name="CourseForm"
46
                scope="request"
47
                parameter="dispatch"
48
                validate="false"
49
                input="page.separators.serviceZone">
50
            <forward name="submit" path="page.submit.course.from.service.zone"/>
345 jmachado 51
            <forward name="load.courses.programs" path="page.courses.programs.from.service.zone"/>
52
            <forward name="load.directed.coordinated.courses" path="page.directed.coordinated.courses.from.service.zone"/>
53
            <forward name="confirm.courses.programs" path="page.separators.serviceZone"/>
214 jmachado 54
        </action>
55
 
345 jmachado 56
        <action path="/user/startLoadCoursesProgramsFromHome" forward="/user/courseControllerFromHome.do?dispatch=loadCoursesPrograms&amp;fromDispatch=loadCoursesPrograms&amp;from=Home"/>
57
        <action path="/user/startLoadDirectedCoordinatedCoursesFromHome" forward="/user/courseControllerFromHome.do?dispatch=loadDirectedCoordininatedCourses&amp;fromDispatch=loadDirectedCoordininatedCourses&amp;from=Home"/>
343 jmachado 58
        <action path="/user/courseControllerFromHome"
59
                type="pt.estgp.estgweb.web.controllers.courses.CoursesController"
60
                name="CourseForm"
61
                scope="request"
62
                parameter="dispatch"
63
                validate="false"
64
                input="page.separators.serviceZone">
344 jmachado 65
            <forward name="load.courses.programs" path="page.courses.programs.from.home"/>
343 jmachado 66
            <forward name="load.directed.coordinated.courses" path="page.directed.coordinated.courses.from.home"/>
345 jmachado 67
            <forward name="confirm.courses.programs" path="page.separators.home"/>
343 jmachado 68
        </action>
69
 
214 jmachado 70
 
345 jmachado 71
 
72
 
73
 
214 jmachado 74
    </action-mappings>
75
 
76
</struts-config>