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:\Hybris\6.5.0.0.23546\hybris\bin\ext-template\yacceleratorstorefront\web\webroot\WEB-INF\views\responsive\pages\product\productLayout2Page.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.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2724666/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何從 SAP Spartacus Product Detail 頁面,找到其 Angular 實現 Component 的位置AIAngular
- 織夢某個頁面對應的模板檔案分析
- 教你如何寫第一個jsp頁面JS
- JSP註冊頁面JS
- webscoket+jsp實現簡單的多人聊天頁面WebJS
- SAP Commerce Cloud 產品明細頁面設計概述Cloud
- Flutter中如何強制某個頁面橫屏Flutter
- 對空資料頁面等公共頁面實現的一些思考
- Android 網頁開啟App進入對應頁面Android網頁APP
- SAP Spartacus Site Context 實現專題頁面Context
- 我對空資料頁面等公共頁面實現的一些想法
- JavaWeb開發之頁面傳值JavaWeb
- 如何從 SAP UI5 Not Found 頁面跳轉回到正常的應用頁面試讀版UI面試
- SAP BSP和JSP頁面裡UI元素的ID生成邏輯JSUI
- jsp頁面掛死問題JS
- JSP筆記-頁面重定向JS筆記
- 實現不同頁面不同頁首
- 如何查詢SAP Cloud for Customer UI頁面對應的技術模型明細CloudUI模型
- 實現一個頁面鎖屏的功能
- 基於Html對父頁面開啟子頁面Dialog()的使用HTML
- 純CSS實現的響應式個人簡歷頁面CSS
- 移動Web單頁應用開發實踐——頁面結構化Web
- 單頁面應用和多頁面應用
- Web頁面或app等前端頁面之Java Web的JSP、Servlet、Cookie、Session等技術小結WebAPP前端JavaJSServletCookieSession
- 從 SAP 幫助文件的頁面,談談 SAP Content Management 的實現
- 如何給 SAP Spartacus Storefront 建立新的頁面
- 基於.NetCore開發部落格專案 StarBlog - (7) 頁面開發之文章詳情頁面NetCore
- 記微信網頁開發單頁面返回不重新整理的實現網頁
- VUE 單頁面應用 修改頁面titleVue
- jsp頁面中同時遍歷多個list集合JS
- asyUI分頁中,如何實現頁面跳轉,再返回時,...UI
- jsp+servlet登入註冊頁面JSServlet
- 前端頁面水印生成實現前端
- web頁面錄屏實現Web
- 使用WebSocket實現一個簡單的頁面聊天Web
- 教你如何實現頁面間的資料通訊
- UWP 開發初階 Chapter 5 - 實現頁面導航,和頁面內部分割槽域導航APT
- Eclipse匯入專案後JSP頁面出現報紅EclipseJS