Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Lukasz Lenart
2017-06-20 21:48 GMT+02:00 Ken McWilliams : > I like to use the conventions plugin but find myself fighting with it more > often than not. > > I think conventions should establish a "convention". Now the plugin > certainly does this in the *singular* but say I want

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Adam Brin
Hi Ken, I think I’m with Lukasz, I wonder if the following might be useful for folks to get onto the same page (just from my own head): • a sample project that shows the trade-offs? • a diagram or visualization that shows how the new model might lay out? thanks, adam --

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Ken McWilliams
Sure, it would be most ideal if there could be variables scoped to struts action packages, and accessible from only within that package. Step 1 (Create beans and constants scoped to the package level): Simply creating an interceptor to hold all the configuration that is currently found in

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Ken McWilliams
Sure, doing Struts2/Shiro integration at the moment. Will come back to this, it was a rant from running into issues when setting up some personal demo projects. The limitation from one static configuration to cover all conventions (which really just lets you use one convention, at least well). And