• JSP页面和产品明细页面的绑定关系在Hybris WCMS cockpit什么地方能够找到


    问题

    productLayout2Page.jsp和product detail page的绑定关系在Hybris WCMS cockpit什么地方能够找到

    点击了product list里的product image,会跳转到detail page:

    target jsp的url在这个方法里计算出来:

    算出来的结果:

    也就是这个文件:

    问题

    productLayout2Page.jsp和product detail page的绑定关系在WCMS cockpit什么地方能够找到?

    这两天内部transfer忙着交接,没有及时回复。
    productLayout2Page.jsp和product detail page的绑定关系是在以下的impex里面插入的
    INSERT_UPDATE PageTemplate;$contentCV[unique=true];uid[unique=true];name;frontendTemplateName;restrictedPageTypes(code);active[default=true] ;;ProductDetailsPageTemplate;Product Details Page Template;product/productLayout2Page;ProductPage

    依据个人经验,wcms主要还是要领会思路,不要迷失在具体的代码里,因为画面是自动生成的。
    WCMS--Page template--componentslot--component--cmsproductlistcomponent.jsp--productListerItem.tag

    确实,这里注释写的很清楚。


    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    leetcode-62-Unique Paths
    [leetcode-64-Minimum Path Sum]
    [leetcode-198-House Robber]
    [leetcode-120-Triangle]
    [leetcode-53-Maximum Subarray]
    [leetcode-303-Range Sum Query
    [leetcode-123-Best Time to Buy and Sell Stock III]
    绑定下拉框
    解决URL参数中文乱码
    html 图片拖动不出来的脚本
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/12425019.html
Copyright © 2020-2023  润新知