Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-31 Thread Lukasz Lenart
2013/10/30 Greuel, Jim : > I don't know about the 10 times easier, but we'll see what we can do. I mean you have a real case and as you've probably noticed I'm adjusting my solution to your very simple example ;-) You can always extend the example to help me grasp as much as possible :-) Regards

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-30 Thread Greuel, Jim
I don't know about the 10 times easier, but we'll see what we can do. Jim On Tue, Oct 29, 2013 at 1:02 PM, Lukasz Lenart wrote: > 2013/10/29 Greuel, Jim : > > Our real app has numerous cases where the URL namespace doesn't match the > > Java package structure. I was hoping we could make this w

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-29 Thread Lukasz Lenart
2013/10/29 Greuel, Jim : > Our real app has numerous cases where the URL namespace doesn't match the > Java package structure. I was hoping we could make this work without > restructuring the application and/or modifying URLs. Is this something > that is fixable, i.e., should I submit a jira tick

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-29 Thread Greuel, Jim
Our real app has numerous cases where the URL namespace doesn't match the Java package structure. I was hoping we could make this work without restructuring the application and/or modifying URLs. Is this something that is fixable, i.e., should I submit a jira ticket, or do I need to just bite the

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-29 Thread Lukasz Lenart
The problem is with @Namespace annotation in HelloWorldAction which doesn't play well with init-param actionPackages. Simple move HelloWorkAction to package org.apache.struts.helloworld.test and set actionPackages tp org.apache.struts.helloworld and remove @Namespace annotation. Regards -- Łukas

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-22 Thread Greuel, Jim
Thanks Lukasz. Yes, setting defaultParentPackage fixes the problem for the sample app, but my real app has multiple custom struts packages, so I can't specify a single default that works in all cases. Jim > In 2.0.11 the Codebehind plugin was just a UnknownHandler ;-) > Try add this: > va

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-22 Thread Lukasz Lenart
In 2.0.11 the Codebehind plugin was just a UnknownHandler ;-) Try add this: And you don't have to include "struts-plugin.xml" - framework does it for you ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/22 Greuel, Jim : > I know the Codebehind plugin was deprecat