Ok, nevermind. It was a stupid typo on my part.  Ignore all the above.

On 1/14/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
>
> Ok, I took a look at those libraries and they look like they'd work.
> However, since I am converting an app I already have all the Spring work
> done.  So I am working on getting Spring and Hivemind to work together.  I
> am working with this:
> http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring
>
> In a java file I am doing this:
>
> @InjectObject("spring:typeService")
> public abstract ITypeService getTypeService();
>
> And then in a click method..
> List<Type> types = getTypeService().getTypes();
> System.out.println(types.size());
>
> I am getting a NullPointerException.  Other simple properties work just
> fine like injecting a value of an @Insert on the page from a simple POJO.
> So I have to assume it has something to do with the wiring of my Spring
> services.  However, this exact same setup works in a different project where
> I am manually getting the ApplicationContext and gaining access to the bean
> from Springs methods.
>
> What I'd really like to be able to do is figure out how to get access to
> the ServletContext so that I can just bypass Hivemind trying to wire up
> Spring for me and I can just deal with the Spring classes by themselves.  I
> realize I'll probably need to do something in Hivemind to get the
> ServletContext, however, I don't know what.
>
> Any help is appreciated.  Thanks.
>
> Gregg
>
>
> On 1/12/06, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
> >
> > On 1/12/06, Gregg Bolinger <[EMAIL PROTECTED] > wrote:
> >
> > > Cool, thanks for the link.  I'll check it out.
> >
> > Check also hivetranse.sf.net which do similar job.
> >
> > --
> > Massimo
> > http://meridio.blogspot.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to