Matteo Pelucco wrote:
> ..To complete this thread, retrieve it with:
>
> String contextName =
> info.magnolia.cms.core.SystemProperty.getProperty("magnolia.webapp");
The SystemProperty class is deprecated as of Magnolia 4.5 and you should be
using MagnoliaConfigurationProperties from now on. However, I'm not sure if you
can grab a MagnoliaConfigurationProperties instance from the IoC container at
version handler time.
I'm actually curious what you want to use the web application context for in
your version handler. Maybe it's none of my business, but I can't think of a
good reason right now (although lost of them might exist).
Nils.
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------