Should UserDAO in the XML be userDAO? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 3:14 PM To: users@wicket.apache.org Subject: Re: Spring injection not working
On Jul 23, 2008, at 12:10 PM, James Carman wrote: > Have you tried using @SpringBean? > > On Wed, Jul 23, 2008 at 12:04 PM, David Nedrow <[EMAIL PROTECTED]> > wrote: >> I believe (though I'm clearly wrong in that belief) that I have >> everything >> properly configured to allow spring injection along the lines of: >> >> import com.foo.dao.UserDAO; >> @Spring >> private UserDAO userDAO; D'oh! Yes, I'm using @SpringBean. I wish it was that simple. ;) I was typing the examples I included in my original message, rather than copy and paste and flubbed it. Wherever @Spring is in my example, read @SpringBean. -David --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]