<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE appian-web-config PUBLIC "-//Appian Corporation//DTD Appian Web MVC Configuration 1.0//EN" "/WEB-INF/appian-web-config_1_0.dtd" >

<appian-web-config>
  <appian-action-mappings>
    <appian-action path="/forms/launchFormsDesigner" include="/forms/main.jsp"/>
    <appian-action path="/forms/configPane/radio_config" include="/forms/templates/config/radio_config.jsp"/>
    <appian-action path="/forms/displayFormsExportDialog" include="/forms/exportforms.jsp"/>
    <appian-action path="/forms/displayFormsImportDialog" forward="/forms/importforms.jsp"/>

    <appian-action path="/forms/exportFormsLocal"
            type="com.appiancorp.forms.export.ExportFormsLocalAction">
      <forward name="error" path="/forms/exportlocal_response.jsp"/>
    </appian-action>

    <appian-action path="/forms/importFormsLocal"
            name="processModelImportForm" 
            type="com.appiancorp.forms.export.ImportFormsLocalAction">
      <forward name="success" path="/forms/importlocal_response.jsp"/>
    </appian-action>

    <appian-action path="/forms/uploadDocument" type="com.appiancorp.forms.FileUpload">
      <forward name="success" path="/forms/js/components/inlinefileupload_helper.jsp" />
      <forward name="error" path="/forms/js/components/inlinefileupload_error.jsp" />
    </appian-action>

  </appian-action-mappings>
  
  <message-resources parameter="text.jsp.forms.form-designer" key="form-designer"/>
  <message-resources parameter="resources.application"/>

</appian-web-config>
