[ic] ActionMaps: Alias available?

Ton Verhagen tverhagen at alamerce.nl
Wed Jul 11 06:06:38 EDT 2007


Quoting Racke
>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.

Yep, that's the one I was looking for.

Thanks, Racke !



Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 




More information about the interchange-users mailing list