Re: struts2 conventions plugin - how to override result type

2012-12-08 Thread Lukasz Lenart
2012/12/6 Ken McWilliams : > The right thing to do was override the ConventionsUnknownHandler like you > suggested. Right now the code is pretty ugly, I need to add unit tests to > my TilesUnknownHandler and then I wouldn't mind contributing it. > > When the struts2-tiles-plugin is upgraded to acco

Re: struts2 conventions plugin - how to override result type

2012-12-05 Thread Ken McWilliams
The right thing to do was override the ConventionsUnknownHandler like you suggested. Right now the code is pretty ugly, I need to add unit tests to my TilesUnknownHandler and then I wouldn't mind contributing it. When the struts2-tiles-plugin is upgraded to account for tiles3 it would be nice if i

Re: struts2 conventions plugin - how to override result type

2012-11-28 Thread Ken McWilliams
Sorry I wrote that before really looking the UnknownHandler, it is the right path. I'll get back with the results, and later I hope to have some questions about run time configuration (something I want to try is swapping the order of interceptors in a named stack at runtime). On Wed, Nov 28, 201

Re: struts2 conventions plugin - how to override result type

2012-11-28 Thread Lukasz Lenart
2012/11/26 Ken McWilliams : > I've yet to try this but how do I tie this into conventions. Just add > My issue is that I am following conventions, there are JSPs located as > views for the action (that is, located where conventions would expect to > find view). My idea is to create a tiles plugi

Re: struts2 conventions plugin - how to override result type

2012-11-26 Thread Ken McWilliams
I've yet to try this but how do I tie this into conventions. My issue is that I am following conventions, there are JSPs located as views for the action (that is, located where conventions would expect to find view). My idea is to create a tiles plugin that keeps struts conventions as near as poss

Re: struts2 conventions plugin - how to override result type

2012-11-26 Thread Lukasz Lenart
Hi, There is no easy way right now, you can try to implement UnknownHandler or at least extend ConventionUnknownHandler and override handleUnknownResult() method Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/11/24 Ken McWilliams : > Using struts2-convention-plugin-2.3.1.2