Hi all,

I've been looking into Wicket for a couple of days now and I have to say I like what I see so far from a web framework point of view. However I have a couple remarks/questions with regards to Spring integration or IOC integration in general for that matter.

So far I've been using tapestry and in tapestry 3 it was pretty easy, you subclassed the engine class, put the applicationContext in it, and from whatever page-class you could access it. In Tapestry 4 however, they haven't found a clean way so that's one of the reasons I was moving to Wicket.

Now would it be possible to keep some kind of global(Map) in Wicket as a way of putting/getting 'other' items in the Application? Since you're pretty much required to subclass the Application class and it gets initialized with the WicketServlet pretty much immediately. This would allow the ApplicationContext of spring or some frequently used items like a sessionFactory of Hibernate (if you didn't want to use Spring) to be easely accessed from each page to be used. As then the only thing it would require is like getApplication().get("spring") or if you'd use ognl getApplication().get("spring.mydao").

What do you guys think?

Koen Serry
http://www.serry.org



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to