Changeset 3794 in main


Ignore:
Timestamp:
05/04/12 17:16:04 (10 years ago)
Author:
Lois Haggard
Message:

NM View app - ibisph-view version 2, files for "Resources" top tab.

Location:
adopters/nm/trunk/src/main/webapps/ibisph-view/WEB-INF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/webapps/ibisph-view/WEB-INF/config/spring/resources.xml

    r3407 r3794  
    22
    33<!--
    4         IBIS-PH View System's "resources" module related Spring properties. These
    5         properties are all specific to the "resources" type requests.  These properties
    6         include resources specific resources, controllers, and views.
     4        IBIS-PH View System's "Resources. module related Spring properties. These
     5        properties are all specific to the "Resources. type requests.  These properties
     6        include home specific resources, controllers, and views.
    77-->
    88
     
    2222        </bean>
    2323        <bean id="Resources.Welcome.XML.SystemID" class="org.ibisph.systemid.FileSystemID">
    24                 <constructor-arg index="0" type="java.lang.String"><ref bean="Home.HTMLContent.XML.Path"/></constructor-arg>
    25                 <constructor-arg index="1" type="java.lang.String"><value>xml/resources/ContentUsage.xml</value></constructor-arg>
     24                <constructor-arg index="0" type="java.lang.String"><ref bean="Resources.HTMLContent.XML.Path"/></constructor-arg>
     25                <constructor-arg index="1" type="java.lang.String"><value>Welcome.xml</value></constructor-arg>
    2626        </bean>
     27
     28<!-- Could have had a simple SaveResponse controller and have everything go through that controller by simply
     29        adding a hidden html form included element named "request" with the appropriate value set.  This value
     30        would then be passed to the admin save request servlet and the approp save controller called.  The reason
     31        that this was NOT done is because we wanted a specific confirmation page to be displayed based on the
     32        data submitted.
     33<bean id="SaveUsefulnessSurveyResponseConfirmation.XML.SystemID" class="org.ibisph.systemid.FileSystemID">
     34        <constructor-arg index="0" type="java.lang.String"><ref bean="Common.Context.Servlet.RootPath"/></constructor-arg>
     35        <constructor-arg index="1" type="java.lang.String"><value>xml/home/usefulness_survey_confirmation.xml</value></constructor-arg>
     36</bean>
     37<bean id="SaveRaffleResponseConfirmation.XML.SystemID" class="org.ibisph.systemid.FileSystemID">
     38        <constructor-arg index="0" type="java.lang.String"><ref bean="Common.Context.Servlet.RootPath"/></constructor-arg>
     39        <constructor-arg index="1" type="java.lang.String"><value>xml/home/usefulness_raffle_confirmation.xml</value></constructor-arg>
     40</bean>
     41        <bean id="Resources.SaveSurveyResponseConfirmation.XML.SystemID" class="org.ibisph.systemid.FileSystemID">
     42                <constructor-arg index="0" type="java.lang.String"><ref bean="Resources.HTMLContent.XML.Path"/></constructor-arg>
     43                <constructor-arg index="1" type="java.lang.String"><value>SurveyConfirmation.xml</value></constructor-arg>
     44        </bean>
     45-->
    2746
    2847
     
    3655                <property name="XMLDateParameterName"><ref bean="Common.XMLDateParameterName"/></property>
    3756        </bean>
     57<!--
     58        <bean id="Resources.SaveSurveyResponse.Controller" class="org.ibisph.mvc.controller.home.SaveResponse">
     59                <property name="adminSystemSaveResponseBaseURL"><value>${AdminApp.BaseSaveResponse.URL}</value></property>
     60                <property name="saveResponseRequestValue"><value>SAVE_SURVEY_RESPONSE</value></property>
     61                <property name="view"><ref local="Resources.SaveSurveyResponseConfirmation.View"/></property>
     62        </bean>
     63        <bean id="Resources.SaveUsefulnessSurveyResponse.Controller" class="org.ibisph.mvc.controller.home.SaveResponse">
     64                <property name="adminSystemSaveResponseBaseURL"><value>${AdminApp.BaseSaveResponse.URL}</value></property>
     65                <property name="saveResponseRequestValue"><value>SAVE_USEFULNESS_SURVEY_RESPONSE</value></property>
     66                <property name="submittersIPAddressRequestParameterName"><null/></property>
     67                <property name="view"><ref local="Resources.SaveSurveyResponseConfirmation.View"/></property>
     68        </bean>
     69-->
    3870
    39        
     71<!--
     72<bean id="Resources.SaveRaffleResponse.Controller" class="org.ibisph.mvc.controller.home.SaveResponse">
     73        <property name="adminSystemSaveResponseBaseURL"><value>${AdminApp.BaseSaveResponse.URL}</value></property>
     74        <property name="saveResponseRequestValue"><value>SAVE_RAFFLE_RESPONSE</value></property>
     75        <property name="view"><ref local="Resources.SaveRaffleResponseConfirmation.View"/></property>
     76</bean>
     77-->
     78
    4079        <!--  V I E W   R E S O U R C E S  -->
    4180        <bean id="Resources.HTMLContent.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID">
     
    5089                <constructor-arg index="1"><ref bean="Common.XSLT.Transformation"/></constructor-arg>
    5190        </bean>
     91<!--
     92<bean id="Resources.SaveUsefulnessSurveyResponseConfirmation.View" class="org.ibisph.mvc.view.XSLTXMLTransformation">
     93        <constructor-arg index="0"><ref bean="Resources.HTMLContent.XSLT.SystemID"/></constructor-arg>
     94        <constructor-arg index="1"><ref bean="Common.XSLT.Transformation"/></constructor-arg>
     95        <property name="XMLSystemIDResource"><ref local="SaveUsefulnessSurveyResponseConfirmation.XML.SystemID"/></property>
     96</bean>
     97<bean id="Resources.SaveRaffleResponseConfirmation.View" class="org.ibisph.mvc.view.XSLTXMLTransformation">
     98        <constructor-arg index="0"><ref bean="Resources.HTMLContent.XSLT.SystemID"/></constructor-arg>
     99        <constructor-arg index="1"><ref bean="Common.XSLT.Transformation"/></constructor-arg>
     100        <property name="XMLSystemIDResource"><ref local="SaveRaffleResponseConfirmation.XML.SystemID"/></property>
     101</bean>
     102        <bean id="Resources.SaveSurveyResponseConfirmation.View" class="org.ibisph.mvc.view.XSLTXMLTransformation">
     103                <constructor-arg index="0"><ref bean="Resources.HTMLContent.XSLT.SystemID"/></constructor-arg>
     104                <constructor-arg index="1"><ref bean="Common.XSLT.Transformation"/></constructor-arg>
     105                <property name="XMLSystemIDResource"><ref local="Resources.SaveSurveyResponseConfirmation.XML.SystemID"/></property>
     106        </bean>
     107-->
    52108</beans>
    53109
  • adopters/nm/trunk/src/main/webapps/ibisph-view/WEB-INF/web.xml

    r3407 r3794  
    405405        <servlet-mapping>
    406406                <servlet-name>Dispatcher.Servlet</servlet-name>
     407                <url-pattern>/phom/*</url-pattern>
     408        </servlet-mapping>
    407409        <servlet-mapping>
    408410                <servlet-name>Dispatcher.Servlet</servlet-name>
    409411                <url-pattern>/resources/*</url-pattern>
    410         </servlet-mapping>
    411 
    412                 <url-pattern>/phom/*</url-pattern>
    413412        </servlet-mapping>
    414413
Note: See TracChangeset for help on using the changeset viewer.