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 derived instances extend from that ?
>
> I tried it and seeing some weird class format errors.
>
> I did it with my model entities.
>
> trying to do it with pages and injectables.
>
> public abstract class AbstractPage implements
> org.tynamo.examples.pphl.pages.interfaces.IAbstractPage, ExceptionReporter {
>
>     /**
>      * services and injectables
>      */
>     @Inject
>     protected Logger logger;
>
>     @Inject
>     protected DescriptorService descriptorService;
>
>     @Inject
>     protected HibernatePersistenceService hibernatePersistenceService;
>
>     @Inject
>     protected Messages messages;
>
>     @Inject
>     protected PropertyAccess adapter;
>
>     @Inject
>     protected ValueEncoderSource valueEncoderSource;
>
>     @Inject
>     protected ComponentDefaultProvider cdp;
>
>     @Inject
>     protected ComponentResources resources;
>
>     @Inject
>     protected ApplicationStateManager applicationStateManager;
>
>     @Inject
>     protected PersistenceService persistenceService;
>
>     @Inject
>     protected SecurityService securityService;
>
>

Reply via email to