Re: Convention Plugin & Struts Packages

2009-10-29 Thread Musachy Barroso
It is a file where you put annotations that are applied to the package. See: http://onjava.com/pub/a/onjava/2004/04/21/declarative.html?page=3 musachy On Thu, Oct 29, 2009 at 11:51 AM, Roger wrote: > On Thursday 29 October 2009 19:33:49 Musachy Barroso wrote: >> also, the @ParentPackage can be a

Re: Convention Plugin & Struts Packages

2009-10-29 Thread Roger
On Thursday 29 October 2009 19:33:49 Musachy Barroso wrote: > also, the @ParentPackage can be applied to a whole package by putting > it in a package-info.java file. I will add that to the docs. > I've seen package-info.java mentioned in couple of places in the Convention docs. This is probably

Re: Convention Plugin & Struts Packages

2009-10-29 Thread Musachy Barroso
okie > > -Original Message- > From: RogerV [mailto:roger.var...@googlemail.com] > Sent: 29 October 2009 13:22 > To: user@struts.apache.org > Subject: RE: Convention Plugin & Struts Packages > > > > James Cook-13 wrote:

RE: Convention Plugin & Struts Packages

2009-10-29 Thread James Cook
#ConventionPlugin-Par entPackageannotation Cookie -Original Message- From: RogerV [mailto:roger.var...@googlemail.com] Sent: 29 October 2009 13:22 To: user@struts.apache.org Subject: RE: Convention Plugin & Struts Packages James Cook-13 wrote: > > Hey Roger, > > You need to us

RE: Convention Plugin & Struts Packages

2009-10-29 Thread RogerV
James Cook-13 wrote: > > Hey Roger, > > You need to use @ParentPackage I believe. Or use this > > struts.convention.default.parent.package > > Hope this helps > > Cookie > Thanks Cookie, adding @ParentPackage to all my secure actions has solved the problem and I'm now getting the secureSt

RE: Convention Plugin & Struts Packages

2009-10-29 Thread James Cook
Hey Roger, You need to use @ParentPackage I believe. Or use this struts.convention.default.parent.package Check out: http://struts.apache.org/2.1.6/docs/convention-plugin.html#ConventionPlu gin-ParentPackageannotation Hope this helps Cookie -Original Message- From: RogerV [mailto:rog