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, Jeremy Thomerson <jer...@wickettraining.com
> wrote:

>
> On Tue, Feb 22, 2011 at 4:10 PM, Bruno Borges <bruno.bor...@gmail.com>wrote:
>
>> 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 documentation :)
>
>
>> Annotations like @Configured (at type level of panels, pages and
>> components
>> in general) and @Component would be ignored (or reported).
>>
>> Is this feature still inviable?
>>
>
> Most of the places I use services are in my IDataProvider and IModel
> implementations.  For that, you need the proxy.  Why muddy the waters with
> one way for components and one way for non-components?
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>
>
>

Reply via email to