RE: JavaFlow: getting the application context

2005-07-29 Thread footh
w class. > > HTH, > Bart. > > > -Oorspronkelijk bericht- > > Van: footh [mailto:[EMAIL PROTECTED] > > Verzonden: vrijdag 29 juli 2005 8:06 > > Aan: users@cocoon.apache.org > > Onderwerp: RE: JavaFlow: getting the application > context > >

RE: JavaFlow: getting the application context

2005-07-29 Thread Bart Molenkamp
g > Onderwerp: RE: JavaFlow: getting the application context > > I still can't seem to get the context from a JavaFlow > class. I tried implementing Contextualizable but the > context argument is null. > > Can anyone offer suggestions? > > --- Bart Molenkamp <[EMAIL

RE: JavaFlow: getting the application context

2005-07-28 Thread footh
I still can't seem to get the context from a JavaFlow class. I tried implementing Contextualizable but the context argument is null. Can anyone offer suggestions? --- Bart Molenkamp <[EMAIL PROTECTED]> wrote: > For Java components to get the context, you need to > implement the > Contextualizab

Re: JavaFlow: getting the application context

2005-07-27 Thread footh
Thanks Thomas, I read your first response and replied to it about a week ago. At first I wasn't sure what you meant by the cocoon "standalone" class but I have been investigating the Avalon framework over the past few days and I'm starting to come to an understanding. I will probably try to imple

RE: JavaFlow: getting the application context

2005-07-27 Thread footh
So, I would have my java flow class implement Contextualizable and at some point during the lifecycle, the contextualize method will be called. But will a ServletContext be passed? I'm a little shaky as to what I'm supposed to do within this method. --- Bart Molenkamp <[EMAIL PROTECTED]> wrote:

RE: JavaFlow: getting the application context

2005-07-27 Thread Bart Molenkamp
For Java components to get the context, you need to implement the Contextualizable interface from Avalon. Bart. > -Oorspronkelijk bericht- > Van: footh [mailto:[EMAIL PROTECTED] > Verzonden: woensdag 27 juli 2005 6:17 > Aan: users@cocoon.apache.org > Onderwerp: JavaFlow: getting the appli

Re: JavaFlow: getting the application context

2005-07-27 Thread Thomas Lutz
Copy of my answer to your previous posting: I am using quite the same environment as you do...javaflow, jxtemplates, some custom generators. Looking around I found no application object, too, but :-) maybe the this concept might help: Create a "standalone" cocoon independent class, that is