Hey GF -- Your package declaration can extend multiple packages by using the comma!
<package name="myPackage" extends="masterPack,tiles-default" namespace="/myspace"> Scott On Jan 4, 2008 10:36 AM, GF <[EMAIL PROTECTED]> wrote: > Hi everyone. > I have many packages that extends extends="tiles-default". > I would like to add an interceptor to all of them. > > Now I'm doing this: > > <package name="myPackage" extends="tiles-default" > namespace="/myspace"> > > <interceptors> > <interceptor name="myInter" class="myInterceptor" > /> > <interceptor-stack name="myStack"> > <interceptor-ref name="myInter" /> > <interceptor-ref name="defaultStack" /> > </interceptor-stack> > </interceptors> > > <default-interceptor-ref name="myStack"/> > ....... > </package> > > But I should do this to Every one.. and it is not nice.. > Can you suggest me a quicker (and more elegant) way? > > Thank you! > > GF > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Scott [EMAIL PROTECTED]