Rev 1576 |
Rev 1616 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<!--<!DOCTYPE struts-config PUBLIC-->
<!--"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"-->
<!--"http://struts.apache.org/dtds/struts-config_1_3.dtd">-->
<struts-config>
<form-beans>
<form-bean type="pt.estgp.estgweb.web.controllers.examples.jsonwidget.JsonWidgetExampleForm" name="JsonWidgetExampleForm"/>
<form-bean type="pt.estgp.estgweb.web.controllers.examples.jsonwidget.JsonWidgetFileUploadExampleForm" name="JsonWidgetFileUploadExampleForm"/>
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
</global-forwards>
<action-mappings>
<action path="/examples/jsonwidget/widgetExampleTest" forward="page.widget.example"/>
<action path="/examples/jsonwidget/filesUpload" forward="page.filesUpload.example"/>
<action path="/examples/jsonwidget/fileUploadWidgetExample" forward="page.widget.filesUpload.example"/>
<action path="/examples/jsonwidget/fileUploadWidgetExampleFinal" forward="page.widget.filesUpload.example.final"/>
<!--Json Widget Example-->
<action path="/widgetExample"
type="pt.estgp.estgweb.web.controllers.examples.jsonwidget.WidgetExampleController"
name="JsonWidgetExampleForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.widget.json.fail.validations"><!--Happens When Validations Fail-->
</action>
<!--Json Widget Example With Validation-->
<action path="/widgetWithValidationExample"
type="pt.estgp.estgweb.web.controllers.examples.jsonwidget.WidgetExampleController"
name="JsonWidgetExampleForm"
scope="request"
parameter="dispatch"
validate="true"
input="page.widget.json.fail.validations"><!--Happens When Validations Fail-->
</action>
<!--Json FileUpload with Widget Example-->
<action path="/user/fileUploadWidgetExample"
type="pt.estgp.estgweb.web.controllers.examples.jsonwidget.WidgetFileUploadExampleController"
name="JsonWidgetFileUploadExampleForm"
scope="request"
parameter="dispatch"
validate="true"
input="page.widget.json.fail.validations"><!--Happens When Validations Fail-->
</action>
</action-mappings>
</struts-config>