Thanks Antonio,

I will get in touch with spring guys. One more question - I found you on the
project team of http://tiles.apache.org/framework/tiles-velocity/ project.
Is it possible for you explain me how to use this project. I downloaded the
SVN repository but not able to understand how to get following classes in
bold in spring config which is provided at above URL.

<bean id="tilesConfigurer"
class="com.anydoby.tiles2.spring.TilesConfigurer">
                <property name="definitions">
                        <list>
                               
<value>/WEB-INF/config/tiles-defs.xml</value>
                                ... place here any number of tiles
definition files...
                        </list>
                </property>
        </bean>
...
        <bean id="viewResolver"
               
class="org.springframework.web.servlet.view.velocity.VelocityViewResolver">
                <property name="cache" value="true" />
                <property name="prefix" value="" />
                <property name="exposeSpringMacroHelpers" value="true" />
                <property name="order" value="1"></property>
                <property name="contentType" value="text/html;
charset=utf-8"></property>
                <property name="toolboxConfigLocation"
value="WEB-INF/config/velocity-toolbox.xml" />
                <property name="suffix" value=".tile" />
                <property name="viewClass"
value="com.anydoby.tiles2.spring.VelocityTiles2View" />
        </bean>

I have been given to setup a stack and not able to get this working. I would
highly appreciate your help.

Thanks

Antonio Petrelli-3 wrote:
> 
> 2010/2/22 a3g <[email protected]>:
>>
>> Thanks Antonio, please pardon me for this silly question. How wil. I use
>> extended class (extend one of the two classes you mentioned) as I am
>> currently configuring tiles in my spring config file and I do not supply
>> any
>> attribute renderer there. Can you please help me out in this?
> 
> This is a hard question. AFAIK, Spring does not support Tiles 2.2.x,
> only 2.1.x where Velocity support is not present.
> However I think that you could take a look at these issues:
> http://jira.springframework.org/browse/SPR-5609
> http://jira.springframework.org/browse/SPR-6097
> I can't help anymore in this, sorry. You should ask the Spring team about
> it.
> 
> Antonio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/To-use-Velocity-together-with-Tiles-tp26515419p27689753.html
Sent from the tiles users mailing list archive at Nabble.com.

Reply via email to