On Tue, Feb 22, 2011 at 4:10 PM, Bruno Borges <[email protected]>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*