intershop

Cannot Access Pipeline Dictionary Entry of View Pipeline in a Component


I'm trying to access custom dictionary entry (ManufacturersIterator) from inherited ViewStandardCatalog pipline in overriden component/shopping/FamilyPageCustom template by adding:

 <callParameterDefinitions name="ManufacturersIterator" type="java.util.Iterator"/> 

in interface.pagevariant.content.pagelet2 (also overriden) as described in Intershop support (section 21 Recipe: Access Pipeline Dictionary Entry of View Pipeline in a Component) but dictionary entry (ManufacturersIterator) isn't visible in component/shopping/FamilyPageCustom template neither error has occured.


Solution

  • So far, your approach is correct. The only thing that's missing is the transition point between the pipeline and the actual page (and it's page variant). For that you have to override the call parameter interface interface.page.standard.pagelet2-Interface residing in cartridge app_sf_responsive in file interface.page.standard.pagelet2. Your override must contain the parameter from the original + the new parameter (ManufactursIterator)

    Please note: Intershop Studio provides you with a wizard to create such an override. File -> New -> Pagelet Model and there you'll see an override existing button. If your cartridge declares correct dependencies, you're able to locate the fore mentioned call parameter interface model.