tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luther Baker" <lutherba...@gmail.com>
Subject Re: modules
Date Fri, 05 Dec 2008 05:18:25 GMT
Ah .. thanks Howard. I was looking at the IoC module pages and skipped the
front altogether.

One minor html note .. on the tapestry-core pages, the Tapestry Logo doesn't
lead back to the front page. For example, the logo on
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.htmlleads
to
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/which
is a raw Apache/2.2.10 directory listing.

Thanks,

-Luther


On Thu, Dec 4, 2008 at 8:40 PM, Howard Lewis Ship <hlship@gmail.com> wrote:

> It's not HiveMind, its Tapestry 5 IoC.
>
> Yes, there's explicit configuration.
> http://tapestry.apache.org/tapestry5/guide/conf.html
>
> On Thu, Dec 4, 2008 at 5:01 PM, Luther Baker <lutherbaker@gmail.com>
> wrote:
> > I've create a simple Module class that has a static bind method. I've
> placed
> > the class in the *.services package.
> >
> > package my.app.services;
> >
> > public class MyAppModule
> > {
> >  public static void bind(ServiceBinder binder)
> >  {
> >  binder.bind(ProjectManager.class, SimpleProjectManager.class);
> >  }
> > }
> >
> > In a different Java class, I have
> >
> > @Inject
> >
> > private ProjectManager projectManager;
> >
> > But, when startup always complains ClassNotFound. Are there some explicit
> > IoC configuration (files, classnames, etc) directions? I'm not sure what
> > HiveMind is looking for ... Is it something anything in the 'services'
> > package? or something name based? Links?
> >
> > Thanks,
> >
> > -Luther
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message