[ic] multiple ActionMaps

Rene Hertell interchange-users@icdevgroup.org
Sun Nov 3 02:36:01 2002


> I tried to set up two ActionMaps for my catalog like this:
> 
> ActionMap category <<EOR
> sub {
>         $CGI->{mv_nextpage} = 'category_page';
> }
> EOR
> 
> ActionMap item <<EOR
> sub {
>         $Scratch->{actionmap_sku} = (split('/',$Session->{last_url}))[2];
>         $CGI->{mv_nextpage} = '$Scratch->{actionmap_sku}';
> }
> EOR
> 
> When I restarted IC I got an error that said there was something 
> wrong with
> this line:
> 
> ActionMap items <<EOR
> 
> What do I need to do to get multiple ActionMaps working?



I posted a working actionmap here:
http://www.icdevgroup.org/archive/interchange-users/2002/msg10869.html

Rene