Re: Action mapping to a Tile

2005-10-05 Thread Sunil_Sahu
let me know if you have any issue. Sunil Greg Reddin <[EMAIL PROTECTED]> 01/10/2005 03:23 Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: Action mapping to a Tile Are you using the TilesRequestProcessor? In s

Re: Action mapping to a Tile

2005-09-30 Thread Greg Reddin
On Sep 30, 2005, at 8:55 PM, Graham Reeds wrote: I suppose you could do a forward from within index.jsp That's the best way I can think of. Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
On a related theme... Is it possible to set it up so the application automatically starts with a page from the tile-def.xml bypassing jsp's entirely... I suppose you could do a forward from within index.jsp but why waste processor power:-) G. ---

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Van wrote: On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote: Now with the above changes and I also read that tiles have a convention of prefixing period (.) so that has been changed I still get a 404 but with the new error message of "Invalid path /Tester was requested" struts-config.xml:

Re: Action mapping to a Tile

2005-09-30 Thread Van
On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote: > Now with the above changes and I also read that tiles have a convention > of prefixing period (.) so that has been changed I still get a 404 but > with the new error message of "Invalid path /Tester was requested" > > struts-config.xml: > You

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Your webapp is under 'test'? (Just for completeness of info.) Yes it is. Now with the above changes and I also read that tiles have a convention of prefixing period (.) so that has been changed I still get a 404 but with the new error message of "Invalid path /Tester was requested" struts-c

Re: Action mapping to a Tile

2005-09-30 Thread Dave Newton
Graham Reeds wrote: I have a jsp page with a link to Tester: Test Oh, wait. See, I don't think that will work. If you use an action="pages/Tester">Test that should do it. doesn't know about struts. Are you mapping with *.do? If so, then how would you expect an href="pages/Tester"...> to b

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Dave Newton wrote: Graham Reeds wrote: In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" /> What happens if you put a leading "/" in the path? Dave Still get the 404 error message. I'm not having a lot of luck with Struts. And the lack of useful inf

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
[EMAIL PROTECTED] wrote: just out of curiosity, did you mean to write Test No, the lack of .do is deliberate. Using do denotes an actual form action whereas I just want the activation of a generated page by tiles. I suppose I could call it "pages/Tester.tile". This way I can keep all my t

Re: Action mapping to a Tile

2005-09-30 Thread Dave Newton
Graham Reeds wrote: In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" /> What happens if you put a leading "/" in the path? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Greg Reddin wrote: Are you using the TilesRequestProcessor? In struts-config.xml: Also make sure the Tiles Plugin is configured: Yes. They are the exact carbon copies of mine. I used the default struts-blank.war as my starting point for my testi

Re: Action mapping to a Tile

2005-09-30 Thread Mario_Hernandez
just out of curiosity, did you mean to write Test

Re: Action mapping to a Tile

2005-09-30 Thread Greg Reddin
Are you using the TilesRequestProcessor? In struts-config.xml: Also make sure the Tiles Plugin is configured: Greg On Sep 30, 2005, at 4:47 PM, Graham Reeds wrote: I'm trying to set an action mapping to a tile. I have a jsp page with a li

Action mapping to a Tile

2005-09-30 Thread Graham Reeds
I'm trying to set an action mapping to a tile. I have a jsp page with a link to Tester: Test In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" /> And in tile-def.xml I have Test.page defined: However this gives a 404 fo