SAP Commerce开发之如何找到某个页面对应的JSP实现页面
For example here below is the product detail page of Hybris Storefront. The requirement is to figure out which JSP page has implemented this UI.
In some other SAP product it is quite straightforward to achieve. For example in CRM WebClient UI, simply press F2 and we can find the technical name of UI component which implements the current displayed UI.
In ABAP Webdynpro use “Technical Help” from context menu:
In SAP Cloud for Customer there is so called “Client Inspector” to fulfill the technical data inspection requirement.
In Hybris Commerce you can use the following approach to find the implementation JSP file. I still use product detail page as example, based on Hybris 6.5.
(1) logon WCMS cockpit via url: https://localhost:9002/cmscockpit/index.zul Search by keyword “product”, and double click on the search result with name “Product Details”.
(2) In template detail editor area, write down the name of page template: Product Details Page Template. Also note down the Created Date and Modified Date.
(3) fire the following flexible search in Hybris Administration Console:
select * from {PageTemplate} where {name} = 'Product Details Page Template'
In my installation there are more than one page found. Use Created Date and Modified Date I can tell that the last one is what I am looking for.
then I find the JSP file name here: product/productLayout2Page
Its fullpath in my laptop:
“C:Hybris6.5.0.0.23546hybrisbinext-templateyacceleratorstorefrontwebwebrootWEB-INFviewsresponsivepagesproductproductLayout2Page.jsp“
Or you can also search all cms-content.impex by keyword “Product Details Page Template”:
As described in the comment, the field frontendTemplateName represents the JSP file name.
- MVC结构简介
- 优酷、爱奇艺、摩拜……多家网络平台被曝注册容易注销难!面临个人隐私泄露风险
- WordPress中借助.htaccess屏蔽某个IP或某个IP段(防垃圾评论)
- ASP.NET 调味品:AJAX
- CTreeCtrl 控件使用总结
- 高盛成立交易部门,涉足比特币和加密货币交易
- WordPress主题开发:添加主题更新提醒功能
- WordPress主题开发:添加主题更新提醒功能
- ASP.NET2.0应用中定制安全凭证之实践篇
- Kaggle大神带你上榜单Top2%:点击预测大赛纪实(下)
- WordPress主题后台选项开发框架 Options Framework 介绍
- vc++ 在程序中运行另一个程序的方法
- 为Options Framework主题后台框架添加后台侧边栏
- ClistCtrl用法及总结(由怎样隐藏ListCtrl列表头的排序小三角形这个bug学习到的知识)
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法