[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ic] multiple ActionMaps


Grant suppressed wrote:
> 
> 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
> 
I suspect that the error message was a little more specific than
"there was something wrong with..."

Check that your previous ActionMap's 'EOR' line doesn't have any
trailing whitespace.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.