Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: Em Qui 09 Mar 2006 08:54, Antonio Petrelli escreveu: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? Short answer: yes. If you want to forward to a definition, say, in case of "

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
Em Qui 09 Mar 2006 08:54, Antonio Petrelli escreveu: > > but my question still the same: > > I just want to do a forward and change one tile of the layout, so i have > > to especify an action class?? > > Short answer: yes. > If you want to forward to a definition, say, in case of "success" or to >

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? My forward and action: Short answer: yes. If you want to forward to a definition, say, in case of "success" or to another defi

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
Em Qui 09 Mar 2006 06:41, Antonio Petrelli escreveu: > vinicius ha scritto: > >> 2) Is your tiles-defs.xml file in the right place? > > > > Yes, in agreement with struts-config.xml: > > et-property property="definitions-config" > >value="/conf/tiles-defs.xml" /> > > This i

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: 2) Is your tiles-defs.xml file in the right place? Yes, in agreement with struts-config.xml: et-property property="definitions-config" value="/conf/tiles-defs.xml" /> This is a pretty strange place for tiles-defs.xml. Is it really under /con

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread vinicius
Em Qua 08 Mar 2006 14:15, Greg Reddin escreveu: > On Mar 8, 2006, at 10:49 AM, Joe Germuska wrote: > > At 10:36 AM -0600 3/8/06, Greg Reddin wrote: > >> On Mar 8, 2006, at 7:14 AM, vinicius wrote: > >>> My forward and action: > >>> > >>> >>> name="institucional" > >>> path=

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread Greg Reddin
On Mar 8, 2006, at 10:49 AM, Joe Germuska wrote: At 10:36 AM -0600 3/8/06, Greg Reddin wrote: On Mar 8, 2006, at 7:14 AM, vinicius wrote: My forward and action: ... Which is a long way of saying that a tiles definition can be any string, but if you get an IllegalArgumentExcepti

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread Joe Germuska
At 10:36 AM -0600 3/8/06, Greg Reddin wrote: On Mar 8, 2006, at 7:14 AM, vinicius wrote: My forward and action: my tiles.defs.xml Does it work to specify a Tiles Forward that begins with a "." or will it try to find a relative URL? That looks a bit strang

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread Greg Reddin
On Mar 8, 2006, at 7:14 AM, vinicius wrote: My forward and action: my tiles.defs.xml Does it work to specify a Tiles Forward that begins with a "." or will it try to find a relative URL? That looks a bit strange to me and I'm not sure if I'd expect it

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread Joe Germuska
At 10:14 AM -0300 3/8/06, vinicius wrote: my stack trace: java.lang.RuntimeException: Path teste does not start with a "/" character When using Tiles, interpret this message to mean that your path is not defined as a tile. The error cannot be more meaningful because Tiles is meant to co-exi

tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread vinicius
my stack trace: java.lang.RuntimeException: Path teste does not start with a "/" character org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1055) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) org.apache.struts.action.Requ