Re: flow - database.js - Componentmanager

2003-06-23 Thread Stefano Mazzocchi
on 6/22/03 1:36 PM Christopher Oliver wrote: > Agree. I've moved Database.js and related out of the core and into the > scratchpad for now, until petstore gets refactored. Thanks dude. -- Stefano.

RE: flow - database.js - Componentmanager

2003-06-23 Thread Reinhard Pötz
> From: Stefano Mazzocchi > > > on 6/20/03 11:52 AM Reinhard Pötz wrote: > > > Yes, you are right. The current draft of the FOM does not contain a > > database layer. > > > > I see two options: > > > > 1.) remove it complety > > 2.) add it to the petstore examples (which are based on those

Re: flow - database.js - Componentmanager

2003-06-22 Thread Christopher Oliver
Agree. I've moved Database.js and related out of the core and into the scratchpad for now, until petstore gets refactored. Chris Stefano Mazzocchi wrote: on 6/20/03 11:52 AM Reinhard Pötz wrote: Yes, you are right. The current draft of the FOM does not contain a database layer. I see two op

Re: flow - database.js - Componentmanager

2003-06-21 Thread Stefano Mazzocchi
on 6/20/03 11:52 AM Reinhard Pötz wrote: > Yes, you are right. The current draft of the FOM does not contain a > database layer. > > I see two options: > > 1.) remove it complety > 2.) add it to the petstore examples (which are based on those JS > functions) > > I'm in favour of removing the

Re: flow - database.js - Componentmanager

2003-06-20 Thread Nuno Santos
x27;ve found is that the flowscript works just fine when i start the > > > cocoon engine, but whenever i make any change to the script, it > > > just loose the cocoon.componentManager! > > > > > > > > > On Fri, 2003-06-20 at 16:19, Frank Taffelt wrote: &g

RE: flow - database.js - Componentmanager

2003-06-20 Thread Reinhard Pötz
t; Subject: Re: flow - database.js - Componentmanager > > > um, isn't this database access directly from flow one of the > deprecated parts of the API?? > > Geoff > > At 11:55 AM 6/20/2003, you wrote: > >I think i solve it. Chec

Re: flow - database.js - Componentmanager

2003-06-20 Thread Geoff Howard
've found is that the flowscript works just fine when i start the > cocoon engine, but whenever i make any change to the script, it > just loose the cocoon.componentManager! > > > On Fri, 2003-06-20 at 16:19, Frank Taffelt wrote: > > > I also found this bug in the flo

Re: flow - database.js - Componentmanager

2003-06-20 Thread Nuno Santos
any change to the script, it > just loose the cocoon.componentManager! > > > On Fri, 2003-06-20 at 16:19, Frank Taffelt wrote: > > > I also found this bug in the flow Database.js! > > > It seems that the componentManager is null whenever the > > > script is reloaded! > >

Re: flow - database.js - Componentmanager

2003-06-20 Thread Nuno Santos
gt; It seems that the componentManager is null whenever the > > script is reloaded! > > Hmm, what do you mean with "script is reloaded"? I didn't find any rational > reason for this ... -- Nuno Santos <[EMAIL PROTECTED]>

Re: flow - database.js - Componentmanager

2003-06-20 Thread Frank Taffelt
> I also found this bug in the flow Database.js! > It seems that the componentManager is null whenever the > script is reloaded! Hmm, what do you mean with "script is reloaded"? I didn't find any rational reason for this ...

Re: flow - database.js - Componentmanager

2003-06-20 Thread Nuno Santos
I also found this bug in the flow Database.js! It seems that the componentManager is null whenever the script is reloaded! On Thu, 2003-06-12 at 18:59, Christopher Oliver wrote: > You're right, this is a serious problem. I'll try to look into it. Can > you provide more informati

Re: flow - database.js - Componentmanager

2003-06-13 Thread Frank Taffelt
> You're right, this is a serious problem. I'll try to look into it. Can > you provide more information about what is causing it? my flowscript code looks like the following example: --- cocoon.load("resource://org/apache/cocoon/components/flow/javascript/Databas e.js"); function myLogic {

Re: flow - database.js - Componentmanager

2003-06-12 Thread Christopher Oliver
tabase.js; line 13) I'put some debug statements into databsae.js and found that the componentManager object var selector = cocoon.componentManager.lookup(..) is null. The problem occurs under cocoon-2.1m2 and current cvs (11.06.2003). In my eyes this is a serious issue and we should try to fin

flow - database.js - Componentmanager

2003-06-12 Thread Frank Taffelt
;, line 13: uncaught JavaScript exception: TypeError: Cannot convert null to an object.(resource://org/apache/cocoon/components/flow/javascript/Database.js; line 13) I'put some debug statements into databsae.js and found that the componentManager object var selector = cocoon.componentManager.lookup(.

DO NOT REPLY [Bug 15312] - Parent ComponentManager does not get disposed

2002-12-12 Thread bugzilla
gzilla/show_bug.cgi?id=15312 Parent ComponentManager does not get disposed --- Additional Comments From [EMAIL PROTECTED] 2002-12-12 14:43 --- Created an attachment (id=4142) Zip file containing diffs for a proposed fix for th

DO NOT REPLY [Bug 15312] New: - Parent ComponentManager does not get disposed

2002-12-12 Thread bugzilla
gzilla/show_bug.cgi?id=15312 Parent ComponentManager does not get disposed Summary: Parent ComponentManager does not get disposed Product: Cocoon 2 Version: Current CVS Platform: Other OS/Version: Other Status: NEW Severity:

Re: AW: [C2]: Environment and ComponentManager (and the cocoon: url)

2001-06-22 Thread giacomo
On Fri, 22 Jun 2001, Carsten Ziegeler wrote: > > Carsten Ziegeler wrote: > > > > Hello, > > > > I again and again face the big problem that the Environment cannot > > get any components as it does not have access to the ComponentManager. > > > >

AW: [C2]: Environment and ComponentManager (and the cocoon: url)

2001-06-22 Thread Carsten Ziegeler
> Carsten Ziegeler wrote: > > Hello, > > I again and again face the big problem that the Environment cannot > get any components as it does not have access to the ComponentManager. > > Is there any chance to make some simple changes that the Environment > gets a Comp

[C2]: Environment and ComponentManager

2001-06-22 Thread Carsten Ziegeler
Hello, I again and again face the big problem that the Environment cannot get any components as it does not have access to the ComponentManager. Is there any chance to make some simple changes that the Environment gets a ComponentManager from somewhere? Or is this bad design? (By the way: As

Re: ComponentManager

2001-06-11 Thread Berin Loritsch
lasses. > > Isn't it reasonable to have a static access to the > component manager as there is e.g. for the logger? > Or should this be considered a bad design/idea? No. It is not necessary for a class to be a Component for it to implement Composable. You would have to manage the pa

ComponentManager

2001-06-11 Thread Torsten Curdt
At least for me it would be useful to have a static method to get to the cocoon component manager instance. Not all of our classes are really what I would characterize as a component. So I need to pass the component manager to all my classes. Isn't it reasonable to have a static access to the co

Re: Exception in Avalon ComponentManager when disposing Cocoon

2001-06-08 Thread Berin Loritsch
Berin Loritsch wrote: > > Sylvain Wallez wrote: > > > > I added a call to cocoon.dispose() in CocoonServlet.destroy(). The main > > purpose was to gracefully close all Jdbc connections held by the > > connection pool (otherwise Hsql keeps the database locked), but this > > produces the following

Re: Exception in Avalon ComponentManager when disposing Cocoon

2001-06-08 Thread Berin Loritsch
Sylvain Wallez wrote: > > I added a call to cocoon.dispose() in CocoonServlet.destroy(). The main > purpose was to gracefully close all Jdbc connections held by the > connection pool (otherwise Hsql keeps the database locked), but this > produces the following exceptions in the log : > > DEBUG

Exception in Avalon ComponentManager when disposing Cocoon

2001-06-08 Thread Sylvain Wallez
I added a call to cocoon.dispose() in CocoonServlet.destroy(). The main purpose was to gracefully close all Jdbc connections held by the connection pool (otherwise Hsql keeps the database locked), but this produces the following exceptions in the log : DEBUG 60137 [cocoon ] (Thread-21): Erro