|
Ok it does the same, but it
doesn’t feel like normal java usage. And besides, you’re basically
saying that we don’t need setters at all, because you can use reflection
to set private fields on objects. Tom From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg we can write a traversal
for setters, but i really dont see value in it, what is your setter going to do
- stick it into some private field. On 3/20/06, Tom van
Zummeren <[EMAIL PROTECTED]>
wrote: Ok thanks, By the way, is this the best way to inject dependencies? It
works like a charm but it isn't Spring-like to inject a dependency with only a
private field. Spring normally uses a setter to do so, and if the bean
implements InitializingBean it calls the afterPropertiesSet() method afterwards
(to do some validation of the just set dependencies) Is there an option to do it like this? Tom From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Igor Vaynberg
there is more info here: On
3/20/06, Johan Compagner <[EMAIL PROTECTED]>
wrote: One
warning don't do this:
private AccountService accountService = null;
(the =
null)
On
3/20/06, karthik Guru <[EMAIL PROTECTED]>
wrote: > Spring support for injecting your business logic
into your web pages in a non-intrusive manner, while still being able to use
the Yes -
this one is my favourite! . ..actually even IAuthorizationStrategy and Ajax
support rocks.!..now am not sure which is the best 1.2 feature. May be we s'd
have a vote :)
On
3/20/06, Tom van Zummeren <[EMAIL PROTECTED]> wrote: I was wondering if there are any examples yet of new features
in Wicket 1.2 Because on the wicket site I saw a list of new features in
Wicket 1.2, but it didn't say how the new features are implemented. In this case I'd like to know the following: Spring support
for injecting your business logic into your web pages in a non-intrusive
manner, while still being able to use the convenient Wicket idiom for creating
pages (using the Java new operator). What is this non-intrusive manner? Tom --
-- --
karthik -- --
-- |
- RE: [Wicket-user] New features Wicket 1.2 Tom van Zummeren
- Re: [Wicket-user] New features Wicket 1.2 Igor Vaynberg
- RE: [Wicket-user] New features Wicket 1.2 Tom van Zummeren
