[ic] ActionMaps: Alias available?

Stefan Hornburg (Racke) racke at linuxia.de
Wed Jul 11 04:22:40 EDT 2007


Ton Verhagen wrote:
> Dear All,
> 
> Would there be a possibility to use the Alias mechanism for
> ActionMaps in a similar way as for UserTags?
> 
> I would like to have different names execute the very same
> piece of code like:
> 
> Define code once for en_US locale (e.g. jewels):
> 
> ActionMap jewels <<EOR
> sub {
>         ...
> }
> EOR
> 
> and having the possibility to access the same code with another
> name when in de_DE locale (schmuck):
> 
> ActionMap jewels Alias schmuck
> 
> or for nl_NL locale:
> 
> ActionMap jewels Alias sieraden

Sub gems <<EOS
sub {
     ...
}
EOS

ActionMap jewels gems
ActionMap juwelen gems

should do the trick.

Regards
         Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list