CRM WebClient UI
WebClient UI renders the DOM elements of these c#_w# format IDs in which line of ABAP code is generated?
Refer to my blog webclient UI element ID generation logic
Hybris
Since it is a JSP, it is the same as a BSP based on server-side rendering. Hybris app developers don't have to reinvent the wheel and use Ycommerce tags directly on JSP pages:
The Ycommerce tag is implemented as follows. It is also clear from the comments that this JSP tag is implemented, in order to ensure that the ID is unique, in the same way as the CRM WebClient UI: The internal maintenance of a counter, after each generation of elements plus 1.
The code for the counter plus one:
Equivalent to the 16th line of code in the WebClient UI:
JSP can not be directly executed by the browser, but compiled into. class, the final browser output of the native HTML code generated in these. Class:
To get more original Jerry's technical articles, please follow the public number "Wang Zixi" or scan the QR code below:
UI element ID generation logic in BSP and JSP