Re: trying to avoid code bloat

2013-05-20 Thread Barry Books
I would not use an Abstract page for this purpose. The first problem is protected will not work because the pages will not have the same package. I would create a service with these services and just inject that. So your page would just have @Inject private Services services; and your service

Re: trying to avoid code bloat

2013-05-20 Thread Peter Stavrinides
stick them in the base package, extend the class and it works great - Original Message - From: Barry Books trs...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Monday, 20 May, 2013 2:31:18 PM Subject: Re: trying to avoid code bloat I would not use an Abstract page

RE: trying to avoid code bloat

2013-05-20 Thread Ken in Nashua
Thanks Joakim... I noticed that. I didnt believe the error... but its good to have a confirmation. I will try it again in that pages dir.

Re: trying to avoid code bloat

2013-05-19 Thread Joakim Olsson
Base-classes need to be located in a package called base on the same level as pages, components, mixins and services. /Joakim On Mon, May 20, 2013 at 4:59 AM, Ken in Nashua kcola...@live.com wrote: Hi Folks, Can i construct an abstract page and inject a bunch of services and then have