Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-16 Thread adam.gibbons
ing the @Transactional annotations? > > On Wed, Dec 15, 2010 at 11:40 AM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3089806&i=0>> > wrote: > > > > > Hi Hielke, > > > > Thank you for the hel

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
ion if you get this right. The spring forums are filled > with > examples. > > Hielke > On 15 Dec 2010 16:58, "adam.gibbons" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3089324&i=0>> > wrote: > > > > > > > Ok,

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
opensessioninview /* wicket-spring-hibernate /* On 15 December 2010 16:15, jcgarciam [via Apache Wicket] < ml-node+3089321-765746748-201...@n4.nabble.com > wrote: > In your web.xml > > the OSV Filter must comes in front (first) of the wicket filter &g

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
Ok, I think this is now back to a Wicket question. Start up is ok now. However when I try and invoke UserServiceImpl.authenticate(){ final Temp1 temp1 = new Temp1(); temp1.setValue(userName); temp1DAO.save(temp1); return testUserService.authenticate(userName, passwo

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
s I suggested? The section > you need to change is: > > @SpringBean > private Temp1DAO temp1DAO; > > Change that to @Autowired instead of @SpringBean > > > > > On Wed, Dec 15, 2010 at 9:23 AM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?type=node&a

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
0-955689425-201...@n4.nabble.com > wrote: > Spring is not starting up fine. It's unable to instantiate the > UserServiceImpl bean which is why I asked for the code for that class. > > On Wed, Dec 15, 2010 at 9:19 AM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
outside your container? Once you get > that down, you should be good to go. > > On Wed, Dec 15, 2010 at 8:50 AM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3089041&i=0>> > wrote: > > > > > Hi James, > > > > Th

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
gt; > cheers, > Matthias > > Am 15.12.2010 um 15:06 schrieb adam.gibbons: > > > > > I thought that was the whole point of the Wicket-Spring project... That > > tutorial looked like it worked as recently as a year ago. I find it hard > to > > believe that it's

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
e able to fire your spring context outside the context of > Wicket. Can it be instantiated outside your container? Once you get > that down, you should be good to go. > > On Wed, Dec 15, 2010 at 8:50 AM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?type=node&

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
Hi James, Thanks for the suggestion! However, even with your change, I still get the "There is no application attached to current thread ContainerBackgroundProcessor[StandardEngine[Catalina]]" error. Regards, Adam On 15 December 2010 11:17, James Carman [via Apache Wicket] < ml-node+3088802-149

Re: need help with spring annotations

2010-11-25 Thread adam.gibbons
Oh thanks for the tip! I've corrected that now. :) How do you inject Hibernate DAOs into your Spring Services using annotations? Is that possible? I also seem to be having some problems with the sessionFactory being inject into the DAOs. Any ideas? Services are there now though, yay :) On 25 N

Re: need help with spring annotations

2010-11-25 Thread adam.gibbons
> > Ernesto > > P.S. Would it make sense to put you service at application level and > make session fetch it from there? > > On Thu, Nov 25, 2010 at 2:39 PM, adam.gibbons <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3058965&i=0>

Re: need help with spring annotations

2010-11-25 Thread adam.gibbons
It worked!! Thank you sooo much!! \(^_^)/ On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] < ml-node+3058948-296965573-201...@n4.nabble.com > wrote: > Can you try adding line > > InjectorHolder.getInjector().inject(this); > > on CustomAuthenticatedWebSession constructor

Re: "Shared" message property file not working on 1.4

2010-11-25 Thread adam.gibbons
How about better architecture? Using a database instead of a file would be much nicer. With proper caching there's little to no difference in terms of performance than using a file. Cheers, Adam On 25 November 2010 09:07, andrea.castello [via Apache Wicket] < ml-node+3058612-308220060-201...@n4.

Re: Need Wicket Book

2010-11-11 Thread adam.gibbons
Wicket in Action is very good, it covers all the topics you'd want and in a reasonable amount of detail. I got mine as a pdf, much more handy for searching for things than a paper based one, plus better for the environment! There really needs to be a whole book on models, well not just models, bu

Really basic help...

2010-11-01 Thread adam.gibbons
Hi there! I'm extreamly new to Whicket, trying to put together my first sample application based on the AuthenticatedWebSession example. I have everything up and running nicely now, but I'd like to make a few simple changes. On the LoginPage, there are feilds for username, password and a check