i agree, i dont really like the model level integration in the wicket-stuff spring project either.

i think as far as standardization we can only go as far as provide an implementation of IWebApplicationFactory that pulls out the wicketapplication object from the spring webapplication context.

page level integration would be nice, but it is tricky due to serialization issues. maybe when we elegantly crack that nut we can make it a standard and supported way.

-Igor


On 11/4/05, Dan Gould <[EMAIL PROTECTED]> wrote:
Igor Vaynberg wrote:
> what do you mean by cleaner spring integration?
> -Igor

To be honest, I'm not sure.  Right now, I use "Model Level" integration
following
http://www.wicket-wiki.org.uk/wiki/index.php/SpringIntegration

though I've also tried "Page Level Integration".  It works perfectly well,
but there seems to be a bunch of boilerplate that could be removed, and
the whole getContext().getBean() aspect seems to me to be un-Spring-like.
I guess I'm thinking that injection would be nicer than a service locator
pattern.

If nothing else, I suppose I'm looking for one of those methods to become
the "standard" that's used in examples.

[That said, OpenSessionInViewInterceptor makes handling database sessions
really nice.]

Sorry I don't know exactly what I want, but hopefully others do.

Best,
Dan


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to