In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how the UI element ID in BSP and JSP generates logic. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
CRM WebClient UI
In which line of ABAP code is the C#_W#-formatted id of the DOM element rendered by WebClient UI generated?
Refer to my blog WebClient UI element ID generation logic
Hybris
Since it's JSP, it's the same routine as BSP, which is also based on server-side rendering. Hybris application developers do not have to repeat the wheel, but directly use the ycommerce tag in the JSP page:
The ycommerce tag implementation is as follows. The implementation of the JSP tag can also be clearly seen from the comments. To ensure that the id is unique, it uses the same way as CRM WebClient UI: internally maintains a counter, adding 1. 1 after each element is generated.
Counter plus one code:
Equivalent to line 16 of WebClient UI:
JSP cannot be executed directly by the browser, but is compiled into .class, and the native HTML code output by the browser is generated from these .class:
This is how the UI element ID in BSP and JSP generates logic. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.