Re: Re: A problem using Struts Tiles

2007-07-26 Thread Antonio Petrelli
2007/7/26, Paul Benedict <[EMAIL PROTECTED]>: Antonio, are you doing the same with the Tiles2 plugin? Using a command not a custom controller? Do you mean this? http://svn.apache.org/repos/asf/struts/struts1/trunk/tiles2/src/main/resources/org/apache/struts/tiles2/chain-config.xml I simply c

Re: Re: A problem using Struts Tiles

2007-07-26 Thread Paul Benedict
Ah, it just occurred to me: Are you using Struts 1.3? If so, you need a custom chain file. You don't need a custom controller in 1.3, but you do need a custom chain-config to insert the Tiles command. Search the Struts wiki on the 1.3 upgrade notes which explain how to do this. Antonio, are you do

Re: Re: A problem using Struts Tiles

2007-07-26 Thread matihost
I think you forgot to override controller class (as i remember i had the same problem): Your configuration should have also: >My configurations: > > struts-config.xml > > >... > > > > >... > > > value="/WEB-INF/tiles-defs.xml" /> > >... >---

Re: A problem using Struts Tiles

2007-07-26 Thread Paul Benedict
I use global forwards as well. There is something else at play here. Whenever that error occurs, it means some other problem occured. Perhaps the definitions never load, etc. On 7/26/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > I don't believe that global-forwards were ever able to > point to ti

Re: A problem using Struts Tiles

2007-07-26 Thread Dave Newton
I don't believe that global-forwards were ever able to point to tile definitions, but it's been awhile. Inside the action-mappings a forward can point to a tile. d. --- Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/7/26, Paul Benedict <[EMAIL PROTECTED]>: > > > > Of course you can forward t

Re: A problem using Struts Tiles

2007-07-26 Thread Antonio Petrelli
2007/7/26, Paul Benedict <[EMAIL PROTECTED]>: Of course you can forward to a tile. That's the point of tiles :-) Maybe I have not been clear. The following works: but the following does not seem to work: Antonio

Re: A problem using Struts Tiles

2007-07-26 Thread Paul Benedict
Of course you can forward to a tile. That's the point of tiles :-) Antonio Petrelli wrote: 2007/7/26, brossir <[EMAIL PROTECTED]>: If I remember well, I think that there is a bug in Struts that prevents from using ActionForward with a Tiles definition as a forward. I don't know if there

Re: A problem using Struts Tiles

2007-07-26 Thread Antonio Petrelli
2007/7/26, brossir <[EMAIL PROTECTED]>: If I remember well, I think that there is a bug in Struts that prevents from using ActionForward with a Tiles definition as a forward. I don't know if there is an open issue for this, because the JIRA server seems to be down :-( Just to be sure, did yo

A problem using Struts Tiles

2007-07-26 Thread brossir
My configurations: struts-config.xml ... ... ... tiles-defs.xml But i got: javax.servlet.ServletExcept