cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: Is it allowed to access a bean created in avalon in a spring bean definition?
Date Tue, 10 Jul 2007 13:45:52 GMT
Rice Yeh pisze:
> Hi,
>   Is it allowed to access a bean created in avalon in a spring bean 
> definition?

Yes.

> I try to access the FormManager in the following spring xml 
> file, but it returns null.

Did you check was logs say?

>     <bean id="widgetDefinitionBuilderLoader" class=" 
> xs.cocoon.forms.WidgetDefinitionBuilderLoader" scope="singleton">
>         <constructor-arg>
>             <idref bean="org.apache.cocoon.forms.FormManager"/>
>         </constructor-arg>
>     </bean>

What about org.apache.cocoon.forms.DefaultFormManager as bean id? (wild guessing here)

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

Mime
View raw message