Re: Calling an InputModule from flowscript

2007-10-20 Thread Tobia Conforto
I wrote: > I'm saving the input module into a global flowscript variable, because > it's supposed to be request-independent. Nevermind that. I realized I must acquire the input module from the selector every time, lest I end up with IllegalStateExceptions. Tobia

Re: Calling an InputModule from flowscript

2007-10-19 Thread Vadim Gritsenko
Joerg Heinicke wrote: On 10/17/07 12:20 PM, Tobia Conforto wrote: The object model is indeed not made available in the flow script. You can get it from the Avalon context though (code from FOM_Cocoon.java): ContextHelper.getObjectModel(avalonContext) Unfortuntely, this one is neither availab

Re: Calling an InputModule from flowscript

2007-10-19 Thread Joerg Heinicke
On 10/17/07 12:20 PM, Tobia Conforto wrote: But I cannot pass null to my own input module in place of the third parameter (Map objectModel) because I use that objectModel in my class! Is this the recommended way of accessing input modules from flowscript? If so, how do I pass it the objectModel