Bean defination of blWebTemplateEngine not found
Posted: Sat Feb 23, 2013 9:54 am
Hi
I am studying the code of Demo site. I found the following code
This code is related to custom viewresolver of thymeleaf. But I did not found the deff. for blWebTemplateEngine which is used in above defination. I searched it in the source code of broadleaf commerce and found it in the file
bl-framework-web-applicationContext.xml
My question is that "Is this bean will be used in demo site?"
Thanks
Sunil(India)
I am studying the code of Demo site. I found the following code
Code: Select all
<bean class="org.broadleafcommerce.common.web.BroadleafThymeleafViewResolver">
<property name="templateEngine" ref="blWebTemplateEngine" />
<property name="order" value="1" />
<property name="cache" value="false" />
<property name="fullPageLayout" value="layout/fullPageLayout" />
<property name="characterEncoding" value="UTF-8" />
<property name="layoutMap">
<map>
<entry key="account/" value="layout/accountLayout" />
<entry key="catalog/" value="NONE" />
<entry key="checkout/" value="layout/checkoutLayout" />
<entry key="checkout/confirmation" value="layout/fullPageNoNavLayout" />
<entry key="layout/" value="NONE" />
</map>
</property>
</bean>
This code is related to custom viewresolver of thymeleaf. But I did not found the deff. for blWebTemplateEngine which is used in above defination. I searched it in the source code of broadleaf commerce and found it in the file
bl-framework-web-applicationContext.xml
My question is that "Is this bean will be used in demo site?"
Thanks
Sunil(India)