see spring's FactoryBean, its an indirect way to create beans.

-igor

On Fri, May 10, 2013 at 12:33 PM, smallufo <small...@gmail.com> wrote:
> Hi , I wonder if it possible to programmatically create / register a spring
> bean in wicket?
> maybe in Application.init() ...
>
> Most documents about spring are "making use of existent beans" , and inject
> to WebPage or Panel via @SpringBean , and it indeed works well.
>
> But my interface implementations are depend on wicket-component ,
> such as getting absolute URL of a page or a DynamicImageResource
>
> So these beans should be initialized and register to Spring in init()
> (correct me if I am wrong)
>
> Any way to achieve this ?
>
> Thanks.
>
> (I am using wicket 6.7 )

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to