Lally Singh napisaƂ(a):
> 
> Which also begs the question, where do I get the Spring context for
> loading the CocoonSourceResolver?  I was using
> o.a.c.spring.configurator.WebAppContextUtils.getCurrentWebApplicationContext,
> 
> but that doesn't work, complaining about "No WebApplicationContext
> found", which I suspect is probably b/c the WebAppContext isn't set up
> yet (it's still loading up my beans).

I've tried to create simple singleton bean with 
org.apache.excalibur.source.SourceResolver sourceResolver property. In bean 
configuration I put:
<property name="sourceResolver" 
ref="org.apache.excalibur.source.SourceResolver"/>

and it works. I suggest to do the same.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to