[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    RE: TilesTool
From:       "=?iso-8859-1?Q?Marin=F3_A._J=F3nsson?=" <marinoj () centrum ! is>
Date:       2004-07-19 22:45:00
Message-ID: 00a001c46de2$0953a650$3091d082 () violator
[Download RAW message or body]

Hi Peter,

First off, what version of VelocityTools are you using?  v1.1 comes bundled
with ample examples on how to use the TilesTool, but I've only tried using
it with the VelocityViewServlet (I guess that's what you mean by
"ViewServlet") - and I can't see why you'd need the LayoutServlet if you're
using Tiles ;)

btw. this is really a question for the user group, not the dev group.

cheers,
Marinó

> -----Original Message-----
> From: peter [mailto:kjelberg@tele2.se] 
> Sent: 17. júlí 2004 19:33
> To: velocity-dev@jakarta.apache.org
> Subject: TilesTool
> 
> 
> Hi!
> 
>  I'm trying to use TilesTool with velocity, but I'm having 
> trouble making it work.
> 
> I do have a definition for all my stuff in tiles-defs.xml, 
> and I'm pointing to that file in my plugin-definition in 
> struts-config.xml, but when I load the page, I'm getting 
> errors like "invalid reference" when I try to invoke tiles 
> from the templates ($tiles.header, for example).
> 
>  
> 
> I was wondering if you can help me on this?
> 
> The thing is, I have been using tiles with ordinary JSP:s, 
> and it works with no glitches, but when I try to port it to 
> Velocity i fails.
> 
>  
> 
> I'm using SecureTilesTool and LayoutServlet (instead of 
> ViewServlet). Could that be part of the problem?
> 
>  
> 
> I have tried all different kinds of configurations, but must 
> be forgetting something. I would be very grateful if you 
> could help me with details on how to set up TilesTool for 
> velocity...??
> 
>  
> 
>                       Regards /Peter Kjellberg 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic