Saturday, 23 July 2016

Hybris WCMS + Addon:


Accelerator Storefront – Based on Spring MVC framework
  • Model: represents and manages data
  • View: presents the model data
  • Controller: responds to user interaction to control mode state and presentation of the view.
The accelerator is based on view. The accelerator uses JSP for page rendering, JSP files are not used directly, but only as renderers. The JSP files are located under
${HYBRIS_BIN_DIR}/ext-template/yacceleratorstorefront/web/webroot/WEB-INF
Views:

  • The spring MVC controllers specify a view name
  • Spring is configured to look in ${HYBRIS_BIN_DIR}/ext-template/yacceleratorstorefront/web/webroot/WEB-INF/views

JSP Structure



JSP Construction




JSP Review







No comments:

Post a Comment