Don't you use @SpringBean on pages/panels ??
Why and how do you accomplish things?
Bruno Borges
www.brunoborges.com.br
+55 21 76727099
The glory of great men should always be
measured by the means they have used to
acquire it.
- Francois de La Rochefoucauld
On Tue, Feb 22, 2011 at 7:22 PM,
Sorry, forgot to add this:
Reason why he chose to go for that approach of @Autowire and other
annotations, is that @SpringBean does not support Spring Beans based on the
Provider interface.
I guess this could be fixed on wicket-spring.
I will talk to him and see if we can issue a
Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly
possible to use @Configurable, @Autowired, and lots of AspectJ magic,
for Pages and Components, instead of wicket-spring/@SpringBean.
Provided, of course, that all beans you inject into Components are
scope-proxied
On Wed, Feb 23, 2011 at 8:56 AM, tetsuo ronald.tet...@gmail.com wrote:
Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly
possible to use @Configurable, @Autowired, and lots of AspectJ magic,
for Pages and Components, instead of wicket-spring/@SpringBean.
Provided, of
Yes, it is. Just use @SpringBean.
On Wed, Feb 23, 2011 at 4:25 PM, James Carman
ja...@carmanconsulting.com wrote:
On Wed, Feb 23, 2011 at 8:56 AM, tetsuo ronald.tet...@gmail.com wrote:
Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly
possible to use @Configurable,
On Wed, Feb 23, 2011 at 2:46 PM, tetsuo ronald.tet...@gmail.com wrote:
Yes, it is. Just use @SpringBean.
Agreed! :)
Hi everyone,
A friend was playing with Wicket and Spring and suggested that the
Spring integration could have a injector that could call the
AutowireCapableFactory of Spring to process Spring-native annotations, like
@Autowired and @Value.
@Override
public void
problem comes from the fact that if one puts @Configured/@Component
and @Autowire spring annots on wicket classes and uses aspectj then
component classes will get instrumented which is not what you want.
-igor
On Tue, Feb 22, 2011 at 1:34 PM, Bruno Borges bruno.bor...@gmail.com wrote:
Hi
The problem with that is that it doesn't address the situation where
the reference is passed elsewhere (like to a DataProvider). With the
proxy-based approach (which wicket-spring does now), it does.
On Tue, Feb 22, 2011 at 4:34 PM, Bruno Borges bruno.bor...@gmail.com wrote:
Hi everyone,
A
If enough documentation is supplied, to state that usage of such annotations
can only be used this way:
class MyPage extends WebPage {
@Autowired
private transient MyService service;
}
Annotations like @Configured (at type level of panels, pages and components
in general) and @Component
On Tue, Feb 22, 2011 at 4:10 PM, Bruno Borges bruno.bor...@gmail.comwrote:
If enough documentation is supplied, to state that usage of such
annotations
can only be used this way:
class MyPage extends WebPage {
@Autowired
private transient MyService service;
}
People don't read
11 matches
Mail list logo