Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fragment from dispatcher-servlet.xml to wire up Sitemap in DD4T 2 Java
<!-- Sitemap -->
<bean id="sitemap" class="">
<bean id="navigationController" class="">
<property name="navigationViewPath" value="navigation/"/>
<property name="publicationResolver" ref="publicationResolver" />
<property name="sitemapFactory" ref="sitemapFactory"/>
<property name="sitemap" ref="sitemap"/>
<!-- Custom Factory -->
<bean id="sitemapFactory" class="" factory-method="getInstance">
<property name="pageProvider" ref="pageProvider" />
<property name="cacheProvider" ref="cacheProvider" />
<!-- Custom Databinder -->
<bean id="customDataBinder" class="" factory-method="getInstance">
<bean id="customDataBindFactory" class="" factory-method="getInstance">
<property name="customDataBinder" ref="customDataBinder" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment