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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to