I saw a reply in the mailing list, not on the forum. I have checked if the
webapp initializes the context 3 times. But I can only see one time in the logs
that the module is being initialized and only one time the
BlossomDispatcherServlet being initialized.
The only noticable change I did was adding the BlossomWebArgumentResolver a
while back. Could that be of any influence?
Here is a snippet of the blossom-servlet.xml
[code]
<!-- Configures the @Controller programming model -->
<!-- replacement of the mvc:annotation-drive tag, since that overrides
the -->
<bean
class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
<property name="order" value="1" />
</bean>
<bean
class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="order" value="1" />
<!-- set blossoms custom web argument resolver, see:
http://documentation.magnolia-cms.com/modules/blossom.html#Viewrendering -->
<property name="customArgumentResolver">
<bean
class="info.magnolia.module.blossom.web.BlossomWebArgumentResolver"/>
</property>
<property name="webBindingInitializer">
<bean
class="org.springframework.web.bind.support.ConfigurableWebBindingInitializer">
</bean>
</property>
<property name="messageConverters">
<list>
<bean
class="org.springframework.http.converter.ByteArrayHttpMessageConverter" />
<bean
class="org.springframework.http.converter.StringHttpMessageConverter" />
<bean
class="org.springframework.http.converter.ResourceHttpMessageConverter" />
<bean
class="org.springframework.http.converter.FormHttpMessageConverter" />
</list>
</property>
</bean>[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=6dddc9de-374d-44af-acdc-020eb8e3c019
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------