<!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 type="com.appiancorp.web.framework.kernel.main.ActionFormBean">
    <appian-form-bean name="emptyForm" type="com.appiancorp.ac.forms.EmptyForm" />
    <appian-form-bean name="documentForm" type="com.appiancorp.ac.forms.DocumentForm" />
    <appian-form-bean name="genericForm" type="com.appiancorp.ac.forms.GenericForm" />
    <appian-form-bean name="subscribeKCForm" type="com.appiancorp.ac.forms.SubscribeKCForm" />
    <appian-form-bean name="statisticsForm" type="com.appiancorp.ac.forms.StatisticsForm" />
  </appian-form-beans>
  <global-forwards type="com.appiancorp.web.framework.kernel.main.ActionForward">
    <forward name="baseStyle" path="/collaboration/css/base-styles.css2" />
    <forward name="pageContext" path="/collaboration/" />
    <forward name="imgContext" path="/collaboration/img/" />
    <forward name="actionContext" path="/collaboration/" />
    <forward name="docContext" path="/doc/" />
    <forward name="folContext" path="/folder/"/>
    <forward name="home" path="/collaboration/RenderHome.do" />
    <forward name="community" path="/collaboration/comm_V.do" />
    <forward name="kc" path="/collaboration/kc_V.do" />
    <forward name="folder" path="/collaboration/folder_V.do" />
    <forward name="notifications" path="/collaboration/sendLink_V.do" />
    <forward name="newFile" path="/collaboration/newFile_V.do?render=welcome" />
    <forward name="newFolder" path="/collaboration/newFolder_V.do?render=welcome" />
    <forward name="newKC" path="/collaboration/newKC_V.do?render=welcome" />
    <forward name="newVersion" path="/collaboration/newVersion_V.do?render=welcome" />
    <forward name="saccAdmin" path="/collaboration/saccadmin.jsp" />
    <forward name="subKC" path="/collaboration/subscribe_S.do?dispatch=prepare" />
  </global-forwards>
  <appian-action-mappings>
    <appian-action path="/collaboration/RenderHome" className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping" input="" name="genericForm" scope="request"
      type="com.appiancorp.ac.actions.RenderHomeAction" validate="false">
      <set-property property="services" 
        value="collaboration-administration-service,collaboration-community-service,collaboration-folder-service,collaboration-reporting-service,portal-notification-service,personalization-group-service,personalization-user-service" 
        />
      <forward name="error" path="/collaboration/error.jsp" />
      <forward name="success" path="/collaboration/home.jsp" />
    </appian-action>
    <appian-action path="/collaboration/GetDocument" name="documentForm" scope="request" validate="false"
            className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping"
            type="com.appiancorp.ac.actions.document.GetDocumentAction">
      <set-property property="services" value="collaboration-knowledgecenter-service,collaboration-document-service"/>
      <forward name="success" path="/collaboration/download" />
      <forward name="error" path="/knowledge/error.jsp"/>
    </appian-action>
    <appian-action path="/collaboration/RenderAdmin" className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping" name="genericForm" parameter="dispatch" scope="request"
      type="com.appiancorp.ac.actions.admin.properties.RenderAdminAction" validate="false">
      <set-property property="services" 
        value="collaboration-community-service,collaboration-knowledgecenter-service,collaboration-folder-service,collaboration-document-service,personalization-group-service,personalization-user-service" 
        />
      <forward name="error" path="/collaboration/RenderHome.do" />
      <forward name="success" path="/collaboration/admin.jsp" />
    </appian-action>
    <appian-action path="/collaboration/comm_V" className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping" name="genericForm" scope="request" type="com.appiancorp.ac.actions.community.Comm_V"
      validate="false">
      <set-property property="services" value="collaboration-community-service" />
      <forward name="success" path="/collaboration/comm.jsp" />
      <forward name="error" path="/collaboration/RenderHome.do" />
    </appian-action>
    <appian-action path="/collaboration/folder_V" className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping" name="genericForm" scope="request"
      type="com.appiancorp.ac.actions.folder.Folder_V" validate="false">
      <set-property property="services" value="collaboration-folder-service" />
      <forward name="success" path="/collaboration/folder.jsp" />
      <forward name="error" path="/collaboration/RenderHome.do" />
    </appian-action>
    <appian-action path="/collaboration/subscribe_S" className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping"
      name="subscribeKCForm" parameter="dispatch" scope="session" type="com.appiancorp.ac.actions.kc.Subscribe_S" 
      validate="false">
      <set-property property="services" value="collaboration-knowledgecenter-service" />
      <forward name="error" path="/collaboration/RenderHome.do" />
      <forward name="subscribe" path="/collaboration/subscribeconfirm.jsp" />
      <forward name="subscribepopup" path="/collaboration/subscribepopup.jsp" />
      <forward name="prepare" path="/collaboration/subscribe.jsp" />
    </appian-action>
    <appian-action path="/collaboration/downloadDocumentExternal" type="com.appiancorp.ac.actions.document.DownloadDocumentExternal" name="emptyForm"
      className="com.appiancorp.ac.actions.framework.ServiceWebMvcActionMapping" scope="request" validate="false">
      <set-property property="services" value="collaboration-document-service"/>
      <forward name="error" path="/collaboration/downloadDocument.jsp"/>
      <forward name="success" path="/collaboration/downloadDocument.jsp" />
    </appian-action>
  </appian-action-mappings>

  <message-resources key="ac-text" parameter="appian.ac.ac-text" />
  <message-resources key="ac-custom" parameter="appian.ac.ac-custom" />
  <message-resources key="ac-image" parameter="appian.ac.ac-image" />
  <message-resources key="build" parameter="build" />
  <message-resources parameter="resources.application"/>

</appian-web-config>
