Rev 1704 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1616 | 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.widgetmodel.WidgetModelForm" name="WidgetModelForm"/> |
||
12 | </form-beans> |
||
13 | |||
14 | <global-exceptions> |
||
15 | |||
16 | </global-exceptions> |
||
17 | |||
18 | <global-forwards> |
||
19 | <!--JSON_WidgetAjax_RESPONSE--> |
||
20 | |||
21 | </global-forwards> |
||
22 | |||
23 | <action-mappings> |
||
24 | |||
1830 | jmachado | 25 | |
26 | <!-- Os serviços disponiveis destes mapeamentos estao indexados no ficheiro struts-json-ws.xml --> |
||
27 | |||
28 | |||
1704 | jmachado | 29 | <action path="/user/jsonModel" forward="/user/json/model.do"/> |
1616 | jmachado | 30 | <action path="/user/json/model" |
31 | type="pt.estgp.estgweb.web.controllers.widgetmodel.ModelWidgetController" |
||
32 | name="WidgetModelForm" |
||
33 | scope="request" |
||
34 | parameter="dispatch" |
||
35 | validate="true" |
||
36 | input="page.widget.json.fail.validations"> |
||
37 | </action> |
||
38 | |||
1704 | jmachado | 39 | |
1830 | jmachado | 40 | <action path="/json/coursesServices" |
41 | type="pt.estgp.estgweb.web.controllers.widgetmodel.CoursesServicesWidgetController" |
||
42 | name="WidgetModelForm" |
||
43 | scope="request" |
||
44 | parameter="dispatch" |
||
45 | validate="true" |
||
46 | input="page.widget.json.fail.validations"> |
||
47 | </action> |
||
1704 | jmachado | 48 | |
1830 | jmachado | 49 | |
50 | |||
1616 | jmachado | 51 | </action-mappings> |
52 | |||
53 | |||
54 | </struts-config> |