It's best to keep your app context beans in the Wicket application.
See the wicket-phonebook example in wicket-stuff cvs.

On 11/14/05, Maik Dobryn <[EMAIL PROTECTED]> wrote:
> Hi Igor,
>
> I'm very new to Wicket. The last days I tried to figure out how the
> Spring integration in Wicket works.
>
> There is a lot of confusion about the most recent practice.
> Unforturnatly, no documentation does exist which covers this important
> technique.
>
> So would You please provide a small (code) example of setting up a
> Spring application context and injecting a bean at page level?
>
> Thank You in advance,
>
> Maik
>
>
> on 2005-11-11 00:50 Igor Vaynberg wrote:
>  >more refactoring/tests and some new things:
>  >
>  >SpringWebApplicationFactory - which will pull the webapplication
>  >subclass out of spring application context
>  >
>  >SpringInjector/SpringWebApplica tion - make it very simple to inject
>  >objects using @SpringBean annotation with lazy-init proxies
>  >
>  >SpringWebPage - autoinitailizes its subclasses using the SpringInjector
>  >
>  >I also deprecated all the old stuff and moved it into
>  >wicket.contrib.spring.old package. The new stuff is the
>  >"official/supported/standard/whateveryouwanttocallit" way to do spring
>  >integration.
>  >
>  >currently we only provide an easy way to inject objects using jdk5
>  >annotations. it is possible to create a jdk1.4 object locator
>  >factories, but there are many options as to how to store metadata/do
>  >the lookup. if someone is interested in this please let me know and we
>  >can discuss some ways of doing this.
>  >
>  >As always, any feedback is greatly appreciated.
>  >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to