cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Re:How to get spring beans with Cocoon Template 1.0?
Date Thu, 20 Nov 2008 14:11:57 GMT
On Thu, 2008-11-20 at 09:31 +0100, Thorsten Scherler wrote:
> On Wed, 2008-11-19 at 22:06 +0800, 黄海冬公司邮箱 wrote:
> > codes:
> > 	<jx:set var="appctx"
> > value="${cocoon.context.getAttribute(Packages.org.springframework.web.contex
> > t.WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE)}"/>
> > 	<jx:set var="bean" value="${appctx.getBean('bean')}"/>
> > 
> > Roy Huang
> 
> Thanks very much Roy, will it try now.

Works like a charm, thanks again Roy!

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)





Mime
View raw message