tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Kotchnev <akoch...@gmail.com>
Subject Re: tapestry-spring
Date Tue, 17 Feb 2009 21:50:15 GMT
My personal opinion is that the "compatibility" mode should be the default
mode : e.g. up to this point, there is no code that depends on the "new"
mode. I find the "Spring beans are no longer exposed as services"
particularly bothersome : for some reason, I think that there is a much
better chance (at least in my apps) that I might have a "generally
available" spring services that I'd need to inject into Tapestry than the
other way around.

Can somebody clue me in : what is the most important feature that requires
the "incompatible" mode to be the default ? I remember reading on the list
about Spring Web Flow integration, but is that the only thing that makes the
new and incompatible mode the default ? What if the 'compatible' mode was
the default, and if someone wanted SWF, they could enable the incompatible
one ?


Alex Kotchnev

On Tue, Feb 17, 2009 at 3:31 AM, Massimo Lusetti <mlusetti@gmail.com> wrote:

> On Mon, Feb 16, 2009 at 11:05 PM, Fernando Padilla <fern@alum.mit.edu>
> wrote:
> > you're saying that I should be able to use it with the snapshot builds
> now?
> >
> > how do I turn it off?
> Does this sounds good to you?
> From http://tapestry.formos.com/nightly/tapestry5/tapestry-spring/
> =============================================================
> 5.0 Compatibility Mode
> In some circumstances, it is desirable to configure the Spring
> ApplicationContext externally. The context <config-param>
> "tapestry.use-external-spring-context" can be configured to "true".
> Tapestry will then use an existing ApplicationContext, provided by a
> Spring ContextLoaderListener. You will still be able to inject Spring
> beans into Tapestry components and services, and the
> ApplicationContext service will be visible ... but you will not be
> able to inject Tapestry IoC services into Spring beans.
> This option provides compatibility with the tapestry-spring 5.0,
> including exposing Spring beans as Tapestry IoC services (something
> that no longer occurs unless compatibility mode is enabled).
> =============================================================
> Regards
> --
> Massimo
> http://meridio.blogspot.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message