You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Charlie Rehor <ch...@reunion.com> on 2007/04/18 00:01:18 UTC

Struts2, Tiles, Velocity

I asked this on the velocity lists, and they punted to this list.

We're currently using Struts1.x, Velocity, and Tiles for our project,
which is working great.

However, we want to upgrade to Struts2, but Velocity Tools calls
Struts1.2 to handle calls to Tiles, which obviously breaks. 

So, the question is, can you use Struts2, Velocity, and Tiles together
right now? We've seen the examples for Struts2 and Velocity, but none
for the three components (Struts2, Velocity, and Tiles) put together. If
it exists, can you point me to documentation that describes
how to get a reference to Tiles from a Velocity file? For example, a
direct substitution for the Velocity Tools call:
$tiles.getAttribute("");


Thanks much,

Charlie Rehor


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2, Tiles, Velocity

Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/18, Charlie Rehor <ch...@reunion.com>:
> So, the question is, can you use Struts2, Velocity, and Tiles together
> right now?

Struts 2 uses Tiles 2, but currently there is no support for Velocity
templates with Tiles 2, I am sorry.

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org