Any time a cartridge handler has a name that does not match its cartridge type exactly, it must be registered in the /atg/endeca/assembler/NucleusAssemblerFactory.handlerMapping property. For example, The CategoryHeaderBanner component is registered in the NucleusAssemblerFactory.handlerMapping property as the handler for cartridges with an ID of HeaderBanner-ATGCategory. The following mappings cartridge type and handler are defined in Commerce Reference Store

handlerMapping+=\
  ContentSlot-Main=/atg/endeca/assembler/cartridge/handler/ContentSlot,\
  ContentSlot-Header=/atg/endeca/assembler/cartridge/handler/ContentSlot,\
  ContentSlot-Secondary=/atg/endeca/assembler/cartridge/handler/ContentSlot,\
  PageSlot=/atg/endeca/assembler/cartridge/handler/ContentSlot,\
  PromotionalContent-ATGSlot=\
     /atg/endeca/assembler/cartridge/handler/PromotionalContentSlot,\
  PromotionalContent-ATGTargeter=\
     /atg/endeca/assembler/cartridge/handler/PromotionalContentTargeter,\
  ProductSpotlight-ATGSlot=\
     /atg/endeca/assembler/cartridge/handler/ProductSpotlightSlot,\
  ProductSpotlight-ATGTargeter=\
     /atg/endeca/assembler/cartridge/handler/ProductSpotlightTargeter,\
  HeaderBanner-ATGCategory=\
     /atg/endeca/assembler/cartridge/handler/CategoryHeaderBanner,\
  DimensionSearchAutoSuggestItem=\
     /atg/endeca/assembler/cartridge/handler/DimensionSearchResults,\
  ProductSpotlight-ATGCategoryRelatedProducts=\
     /atg/endeca/assembler/cartridge/handler/CategoryRelatedProducts,\
  ProductSpotlight-ATGCategoryRecommendations=\
     /atg/endeca/assembler/cartridge/handler/CategoryRecommendations,\
  HorizontalRecordSpotlight=\
     /atg/endeca/assembler/cartridge/handler/RecordSpotlight,\
  ProductList-ATGCategoryChildren=\
     /atg/endeca/assembler/cartridge/handler/ProductListCategoryChildren

Note: The PriceSlider cartridge handler has the same name as the PriceSlider cartridge, so it does not need to be registered in the handlerMapping property.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices