Re: [Simpleweb-Support] Problem of trying simple
Brought to you by:
niallg
From: Niall G. <gal...@ya...> - 2005-10-02 20:54:28
|
Hi, Yes, this should be fine. Niall --- Carfield Yim <car...@ca...> wrote: > > > controller.set("core", new Core()); > > > > > > And within the ActionService.prepare acquire the > > > instance doing the following: > > > > > > core = (Core) system.get("core"); > > > > > And I think you mean something like this, right? > > core.Context temp = > (core.Context)system.get("core"); > if(temp == null) { > final File file = new File("WEB-INF/data/"); > temp = new core.Context(file); > system.put("core", temp); > } > ctx = temp; > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, > downloads, discussions, > and more. > http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > Niall Gallagher ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ |