You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mats Norén <ma...@alma.nu> on 2002/10/16 20:32:41 UTC

Flow and Action

Hi,
I´ve having troubles calling an Action from the flow layer.
It used to work just fine, but I think some of the changes made lately 
may have broken the implementation.

Row 290 in JSCocoon is the villain, it creates a NPE at the row below.
The call:
ComponentManager sitemapManager= this.environment.getComponentManager();
returns null...

Any ideas how to fix this? ;)

/Regards Mats






---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Flow and Action

Posted by Ovidiu Predescu <ov...@cup.hp.com>.
Thanks for catching this, I committed it.

Regards,
Ovidiu

On Wednesday, October 16, 2002, at 11:51  AM, Mats Norén wrote:

> Okay,
> the error is at row 153 in CallFunctionNode.
> the line:
>  manager = manager;
> should be
>  this.manager = manager;
>
> /Mats
>
> Mats Norén wrote:
>> Hi,
>> I´ve having troubles calling an Action from the flow layer.
>> It used to work just fine, but I think some of the changes made 
>> lately may have broken the implementation.
>> Row 290 in JSCocoon is the villain, it creates a NPE at the row below.
>> The call:
>> ComponentManager sitemapManager= 
>> this.environment.getComponentManager();
>> returns null...
>> Any ideas how to fix this? ;)
>> /Regards Mats
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Flow and Action

Posted by Mats Norén <ma...@alma.nu>.
Okay,
the error is at row 153 in CallFunctionNode.
the line:
  manager = manager;
should be
  this.manager = manager;

/Mats

Mats Norén wrote:
> Hi,
> I´ve having troubles calling an Action from the flow layer.
> It used to work just fine, but I think some of the changes made lately 
> may have broken the implementation.
> 
> Row 290 in JSCocoon is the villain, it creates a NPE at the row below.
> The call:
> ComponentManager sitemapManager= this.environment.getComponentManager();
> returns null...
> 
> Any ideas how to fix this? ;)
> 
> /Regards Mats
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org