<?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-form-beans>
    <appian-form-bean name="portlet_report_form" type="com.appiancorp.ap2.p.report.ReportPortletForm" />
  </appian-form-beans>

  <global-forwards type="com.appiancorp.web.framework.kernel.main.ActionForward">
  </global-forwards>
  
  <appian-action-mappings>
    <appian-action path="/portlet/report/view"
            type="com.appiancorp.ap2.p.report.ViewReport" 
            name="portlet_report_form" scope="request" cancellable="true">
        <forward name="success" path="/portlet/report/view.jsp"/>
        <forward name="customize" path="/portlet/report/updateprepare.do"/>
    </appian-action>

    <appian-action path="/portlet/report/redocontext"
            type="com.appiancorp.ap2.p.report.RedoContext" 
            name="portlet_report_form" scope="request">
        <forward name="success" path="/portlet/report/updateprepare.do"/>
    </appian-action>

    <appian-action path="/portlet/report/updateprepare"
              type="com.appiancorp.ap2.p.report.UpdatePortletPrepare" 
              name="portlet_report_form" scope="request">
        <forward name="success" path="/portlet/report/configure.jsp"/>
    </appian-action>

    <appian-action path="/portlet/report/update"
              type="com.appiancorp.ap2.p.report.UpdatePortlet" 
              name="portlet_report_form" scope="request" cancellable="true">
        <forward name="prepare" path="/portlet/report/configure.jsp"/>
        <forward name="success" path="/portlet/report/view.do"/>
        <forward name="cancel" path="/portlet/report/update.do"/>
        <forward name="no_access" path="/portal/blank.jsp"/>
    </appian-action>
  </appian-action-mappings>

  <message-resources parameter="resources.application"/>

</appian-web-config>
