cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: flowscript - how to replace in real java
Date Tue, 10 May 2005 18:56:59 GMT
Johannes Becker wrote:
> Hi,
> 
> I'm trying to "rewrite" some flowscript (from CHS) for my java class, 
> but have no clue how to replace this part:
> 
> importClass(Packages.org.springframework.web.context.WebApplicationContext); 
> 
> ...
> function getPetStore() {
>    var appCtx = 
> cocoon.context.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);

> 
>   petStore = appCtx.getBean("petStoreService");
>   return petStore;
> }
> ...
> 
> Has someone any hints how to realize that.
what is exactly you want to achieve?


-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message