Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
Thanks. :-) What you can do is inject (via @SpringBean) your "dao" into a component/page. When that component/page constructs the data provider, it can pass in the injected dao reference. That reference will be okay to serialize/deserialize. -- View this message in context: http://www.nabble

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread James Carman
What you can do is inject (via @SpringBean) your "dao" into a component/page. When that component/page constructs the data provider, it can pass in the injected dao reference. That reference will be okay to serialize/deserialize. On Wed, Aug 6, 2008 at 8:54 AM, alex2008 <[EMAIL PROTECTED]> wrote

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
I'm seeing spring-phonebook, i would like use dataview for obtain a list. I'm read on ContactsDataProvider: "note: it is important that the dao passed to the data provider be a proxy from wicket-contrib-spring when used in non-testing environment. " Why do you have to use createSPringBe

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread James Carman
Why do you have to use createSPringBeanProxy()? On Wed, Aug 6, 2008 at 7:07 AM, alex2008 <[EMAIL PROTECTED]> wrote: > > Now I would try to use dataview then should I use the method > createSpringBeanProxy but since my application of departure does not extend > SpringWebApplication (i'm use WebAppl

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-08-06 Thread alex2008
Now I would try to use dataview then should I use the method createSpringBeanProxy but since my application of departure does not extend SpringWebApplication (i'm use WebApplication because the first and the second system don't function)how can I do to move forward? -- View this message in contex

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-07-31 Thread alex2008
I like use @SpringBean but i don't understand why if i'm trying settings as serverlet or as a filter does not work. what does this addComponentInstantiationListener (new SpringComponentInjector (this)); have to do with whether or not you use a servlet or a filter? you always have to do that f

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-07-31 Thread Igor Vaynberg
what does this addComponentInstantiationListener (new SpringComponentInjector (this)); have to do with whether or not you use a servlet or a filter? you always have to do that for @SpringBean annotation to work... -igor On Thu, Jul 31, 2008 at 9:03 AM, alex2008 <[EMAIL PROTECTED]> wrote: > > >

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-07-31 Thread alex2008
sorry, dont really understand where your problem is...wicket-1189 has been fixed a long time ago. are you saying the bug is back or something else is a problem? -igor Now I'm not sure perhaps is only similar. :blush: For the moment i have find a workaround to this problem I used the 3

Re: SpringWebApplicationFactory cannot load WA from parent bean factory

2008-07-31 Thread Igor Vaynberg
on: > https://issues.apache.org/jira/browse/WICKET-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > SpringWebApplicationFactory cannot load WA from parent bean factory > I have tried the suggest workaround without result. > > I'm use jdk 1.6.x, wicket 1.3.4 and spr

SpringWebApplicationFactory cannot load WA from parent bean factory

2008-07-31 Thread alex2008
I have the same problem described on: https://issues.apache.org/jira/browse/WICKET-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel SpringWebApplicationFactory cannot load WA from parent bean factory I have tried the suggest workaround without result. I'm use jdk