<?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="ap_leaderMessageForm"
               type="com.appiancorp.ap2.p.leadermsg.LeaderMessageForm" />
  </appian-form-beans>

  <global-forwards type="com.appiancorp.web.framework.kernel.main.ActionForward">
  </global-forwards>
  
  <appian-action-mappings>
	<appian-action path="/portlet/leadermsg/view"
          type="com.appiancorp.ap2.p.leadermsg.View" 
          name="ap_leaderMessageForm" scope="request">
      <forward name="success" path="/portlet/leadermsg/leadermsg.jsp"/>
	</appian-action>

  <!-- we need to decorate this one so I prefix with portal -->
  <appian-action path="/portal/leadermsg/save"
            type="com.appiancorp.ap2.p.leadermsg.Save" 
            name="ap_leaderMessageForm" scope="request">
      <forward name="prepare" path="/portlet/leadermsg/editmessage.jsp"/>
      <forward name="success" path="/portlet/leadermsg/view.do"/>
      <forward name="cancel" path="/portlet/leadermsg/edit.do"/>
	</appian-action>

  <appian-action path="/portlet/leadermsg/edit"
            type="com.appiancorp.ap2.p.leadermsg.View" 
            name="ap_leaderMessageForm" scope="request">
      <forward name="success" path="/portlet/leadermsg/leadermsg.jsp"/>
	</appian-action>

  <appian-action path="/portlet/leadermsg/move"
          type="com.appiancorp.ap2.p.leadermsg.Move"
          name="ap_leaderMessageForm" scope="request">
    <forward name="success" path="/portlet/leadermsg/edit.do"/>
  </appian-action>
  <appian-action path="/portlet/leadermsg/remove"
          type="com.appiancorp.ap2.p.leadermsg.Remove"
          name="ap_leaderMessageForm" scope="request">
    <forward name="success" path="/portlet/leadermsg/edit.do"/>
  </appian-action>
  </appian-action-mappings>

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

</appian-web-config>
