tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heamaya <heam...@gmail.com>
Subject Re: Tiles 2 Spring 3 Struts 2
Date Thu, 05 Aug 2010 21:24:36 GMT

I cannot get Tiles definitions to see Spring beans when a class that extends
ViewPreparerSupports is to be called...

	<definition name="OperatorActionListing" extends="administratorBase"
		<put-attribute name="title" value="Operators Listing" />
		<put-attribute name="body" value="/jsp/administrator/operatorList.jsp" />

I mean, this definition doesn't call the ViewPreparer declared in the

	<bean id="genericHibernateDAO" class="ro.dao.hibernate.GenericHibernateDAO"
abstract="true" autowire="no">
		<property name="sessionFactory" ref="sessionFactory" />

	<bean id="customerDAO" class="ro.dao.hibernate.CustomerDAOHibernate"
parent="genericHibernateDAO" autowire="no"/>

	<bean id="operatorActionListing"
class="ro.action.list.OperatorActionListing" scope="prototype"
		<property name="customerDAO" ref="customerDAO" />

I  have configured tiles in spring this way:

	<bean id="tilesConfigurer"
		<property name="definitions">
		<property name="preparerFactoryClass"

Any idea? Bear in mind I'm using struts 2 as MVC...
View this message in context: http://old.nabble.com/Tiles-2-Spring-3-Struts-2-tp29356393p29356395.html
Sent from the tiles users mailing list archive at Nabble.com.

View raw message