tnist
Sep 8th, 2004, 10:30 AM
Hello,
I am trying to integrate Tiles with Spring. I have created a simple baselayout that is used by tiles and that the other views will extend. I believe that I added the correct information to the supporting xml configuration files.
I have added the "viewResolver" as follows:
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResou rceViewResolver">
<property name="requestContextAttribute"><value>requestContext</value></property>
<property name="viewClass"><value>org.springframework.web.servlet.view.tiles.TilesJs tlView</value></property>
</bean>
I looking at the log file, it appears as though tiles is bein initialized correctly. However when every I hit the site, I get redirected to the appropriate "baselayout", but none of the <tiles:> tags are processed, they just show up in the rendered html. Any ideas what I am missing?
I am sure I must be missing something fairly obvious, but I do not see it.
Thanks in advance for your assistance.
Regards,
Todd
I am trying to integrate Tiles with Spring. I have created a simple baselayout that is used by tiles and that the other views will extend. I believe that I added the correct information to the supporting xml configuration files.
I have added the "viewResolver" as follows:
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResou rceViewResolver">
<property name="requestContextAttribute"><value>requestContext</value></property>
<property name="viewClass"><value>org.springframework.web.servlet.view.tiles.TilesJs tlView</value></property>
</bean>
I looking at the log file, it appears as though tiles is bein initialized correctly. However when every I hit the site, I get redirected to the appropriate "baselayout", but none of the <tiles:> tags are processed, they just show up in the rendered html. Any ideas what I am missing?
I am sure I must be missing something fairly obvious, but I do not see it.
Thanks in advance for your assistance.
Regards,
Todd