Changeset 12365 in main


Ignore:
Timestamp:
11/26/16 10:49:58 (6 years ago)
Author:
Paul Leo
Message:

Added the fire redirect

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

Legend:

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

    r12318 r12365  
    142142
    143143                                <!-- R E D I R E C T S -->
     144                                <entry key="/fire"  value-ref="siteSpecificFireController"/>
    144145                                <entry key="/water"  value-ref="siteSpecificWaterController"/>
    145146
     
    243244        </bean>
    244245
     246        <bean id="siteSpecificFireController" class="org.ibisph.web.springmvc.ModelMapAndViewController">
     247                <property name="modelMap"><map/></property>
     248                <property name="view">
     249                        <bean class="org.ibisph.web.springmvc.SimpleClientRedirectionView">
     250                                <property name="redirectionAddress" value="/environment/air/FireAndSmoke.html"/>
     251                                <property name="prependWebappContextToRedirectionAddress" value="true"/>
     252                        </bean>
     253                </property>
     254        </bean>
    245255
    246256</beans>
  • adopters/nm-epht/trunk/src/main/webapps/epht-view/WEB-INF/web.xml

    r12318 r12365  
    237237                <url-pattern>/user/*</url-pattern>
    238238                <url-pattern>/dataportal/*</url-pattern>
    239 <url-pattern>/water/*</url-pattern>
     239                <url-pattern>/water/*</url-pattern>
     240                <url-pattern>/fire/*</url-pattern>
    240241
    241242                <!--
Note: See TracChangeset for help on using the changeset viewer.