In Tools and Frameworks 11.2, the
BasicActionPathProvider
class has changed. A constructor
has been added specifically to handle changes in the authoring environment. It
is required that this constructor is used in authoring.
An additional parameter,
UserState
is now required. If you use or extend this
class prior to 11.2, you will need to update your implementation to reflect
these changes. This also means you will need to update your Spring
configuration.
<bean id="actionPathProvider" scope="request" class="com.endeca.infront.refapp.navigation.BasicActionPathProvider">
<constructor-arg index="0" ref="contentSource"/>
<constructor-arg index="1" ref="httpServletRequest"/>
<!-- navigationActionUriMap -->
<constructor-arg index="2">
<map>
<entry key="^/pages/[^/]*/mobile/detail$" value="/mobile/browse" />
<entry key="^/pages/[^/]*/services/recorddetails/.*$" value="/services/guidedsearch" />
<entry key="^/pages/[^/]*/detail$" value="/browse" />
<entry key="^/services/.*$" value="/services/guidedsearch" />
</map>
</constructor-arg>
<!-- recordActionUriMap -->
<constructor-arg index="3">
<map>
<entry key="^/pages/[^/]*/mobile/.*$" value="/mobile/detail" />
<entry key="^/pages/[^/]*/services/.*$" value="/services/recorddetails" />
<entry key="^/pages/[^/]*/.*$" value="/detail" />
<entry key="^/services/.*$" value="/recorddetails" />
</map>
</constructor-arg>
<constructor-arg index="4" ref="siteState"/>
<constructor-arg index="5" ref="${user.state.ref}" />
</bean>