DAO not getting injected, using springbean

2009-06-16 Thread Bruce McGuire
Hello. I have created a new small project to try to figure out how to use the SpringBean, Service, and Repository annotations with Wicket, Spring, Hibernate, Maven and Eclipse. However, I am getting an error with a user DAO that I have created. I have a service that is using the dao tagged

Re: Re: DAO not getting injected, using springbean

2009-06-16 Thread Bruce McGuire
Hi Martijn. Thanks for the quick response. Are you saying that the dao and the service should have the InjectorHolder code, rather than the @Repository and @Service tags? Bruce. Martijn Dashorst wrote: @SpringBean only works with Components. For all other uses you should either call

Re: Re: Re: DAO not getting injected, using springbean

2009-06-16 Thread Bruce McGuire
wrote: You shouldn't use @SpringBean in your spring-managed beans, only in your Wicket code. You don't want view-specific code in your domain code. On Tue, Jun 16, 2009 at 4:17 PM, Bruce McGuire br...@coastware.com wrote: Hi Martijn. Thanks for the quick response. Are you saying

Re: Re: Re: Re: DAO not getting injected, using springbean

2009-06-16 Thread Bruce McGuire
base-package=com.coastware / bean id=userDAO class=com.coastware.vProbe.model.dao.hibernate.UserDAOHibernate / Other than that, this is a very much reduced context file. Now I need to duplicate this in my real application. Thanks for everyone's help. Bruce McGuire. Vasu Srinivasan wrote

Re: Re: Re: Re: Re: DAO not getting injected, using springbean

2009-06-17 Thread Bruce McGuire
Hi James. It turns out that I had 'userDAO' in one spot, and 'UserDAO' in another. Problem solved. Thanks, Bruce. James Carman wrote: Did you mark UserDAOHibernate with the @Repository annotation? 2009/6/16 Bruce McGuire br...@coastware.com: Hi Vasu. Thanks for the info. Now I get

maven archetype

2012-08-25 Thread Bruce McGuire
Hi There. It has been a while and a new company since I did a project with Wicket, and I would like to start out with a properly set up project. I am looking for an archetype that uses new versions of Wicket Spring Hibernate Any ideas would be greatly appreciated. Thanks, Bruce.

Re: maven archetype

2012-08-25 Thread Bruce McGuire
PS: I forgot to mention that I would like to use testNG. Thanks again. Bruce. On Fri, Aug 24, 2012 at 10:31 AM, Bruce McGuire brlmcgu...@gmail.comwrote: Hi There. It has been a while and a new company since I did a project with Wicket, and I would like to start out with a properly set up

Component failed to render

2008-02-05 Thread Bruce McGuire
Hi there. I am new to Wicket, and have been trying to create a new small application to test it out before we switch completely to using Wicket and Hibernate (through Databinder). I am getting an error with my AccessDenied page, saying that a component failed to render. ERROR -

RE: Component failed to render

2008-02-05 Thread Bruce McGuire
href=Sign In/a /div /body Again, thanks for any pointers. Bruce McGuire. -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Tuesday, 05 February, 2008 12:24 PM To: users@wicket.apache.org Subject: Re: Component failed

RE: Component failed to render

2008-02-05 Thread Bruce McGuire
Hi Martijn. Thanks for the response. Do you mean that Link alpha = new Link(beta) a wicket:id=delta href=gamma/a where these two lines have to match is in the declaration of the Link? Ie the alpha == delta? Not beta == delta? Thanks, Bruce. -Original Message- From:

RE: Component failed to render

2008-02-05 Thread Bruce McGuire
to be in alignment, or more specifically: == On 2/5/08, Bruce McGuire [EMAIL PROTECTED] wrote: Hi Martijn. Thanks for the response. Do you mean that Link alpha = new Link(beta) a wicket:id=delta href=gamma/a where these two lines have to match is in the declaration

RE: Component failed to render

2008-02-05 Thread Bruce McGuire
. -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Tuesday, 05 February, 2008 12:58 PM To: users@wicket.apache.org Subject: RE: Component failed to render Great. Thanks Martijn. Bruce. -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: Component failed to render

2008-02-05 Thread Bruce McGuire
@wicket.apache.org Subject: Re: Component failed to render Did it add components by itself in the super constructor? Martijn On 2/6/08, Bruce McGuire [EMAIL PROTECTED] wrote: Hello. FYI, my problem was not that the ids didn't match. Not exactly sure what the problem was, but as soon as I

Extending DropDownChoice

2008-02-12 Thread Bruce McGuire
Hi. I would like to save the result of a DropDownChoice in my custom session. But, I am stumped about how to extend it. I had thought that I would @Override the getChoices and onSelectionChanged methods, but Eclipse tells me that The method onSelectionChanged(Pool) of type PoolSelect must

How to NOT use wicket's Role class

2008-02-14 Thread Bruce McGuire
Hello. My application has a need for more roles than user and admin. Can someone point me to links etc. on the simplest method of using more than these roles please? This class seems to be final, so extending it won't do the trick. Something of a similar complexity is desired, though.

RE: How to NOT use wicket's Role class

2008-02-15 Thread Bruce McGuire
. Bruce McGuire-2 wrote: Hello. My application has a need for more roles than user and admin. Can someone point me to links etc. on the simplest method of using more than these roles please? This class seems to be final, so extending it won't do the trick. Something of a similar

Linking two DropDownChoices

2008-02-15 Thread Bruce McGuire
Hello. I have two DropDownChoices, both with Models (Databinder's HibernateObjectModel). One is subordinate to the other, in that when the first one's value changes, I would like to clear the second one, forcing the user to select from the second one, or perhaps setting the second one to a

Listview hierarchy problem

2008-03-20 Thread Bruce McGuire
Hello. I have a panel that contains a form, which contains a list view with two items, a label and a button. I have tried a gajillion different combinations, but I keep getting the unable to find component error. Any hints that you can provide would be HUGELY appreciated. The panel

No get method defined for class

2008-04-16 Thread Bruce McGuire
Hello. I am getting an error that I can't figure out how to track down. The entity in the exception doesn't have, nor has it ever had, a piece of data called 'name'. Nor does there seem to be a place where this is getting instantiated, at least as far as I can tell from the exception trace.

Spring?

2008-05-20 Thread Bruce McGuire
Hello All. We are just starting a new version of an existing app, moving toward open source technologies. We have decided on using Wicket based on some prototypes we have done, and are using Hibernate for the models. Our question is this: do you recommend also adding Spring into the mix?

RE: Spring?

2008-05-21 Thread Bruce McGuire
Thanks to all who responded. The consensus seems to support the idea of adding Spring to the app. Here we go! I really appreciate the information. Bruce.