on ‎2020 Mar 31 1:55 AM
In Hybris, I have a layout page with 4 different page slots. One slot in particular includes a JSP. That JSP has a tag which includes a form element with a given modelAttribute as in <form:form action="${action}" method="post" modelAttribute="loginForm">. When the page is displayed on the web site then all is good but when it is displayed inside SmartEdit then the tag is not being rendered. The following exception is thrown: javax.servlet.jsp.JspTagException: Neither BindingResult nor plain target object for bean name 'loginForm' available as request attribute.
The controller for the page is not called at all inside SmartEdit. The behavior is not so much triggered by SmartEdit but rather by the preview-content feature. I am referring to the actual URL used by SmartEdit to display the page content in the bottom frame.
The controller for the page is derived from de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractLoginPageController.
I am using Hybris v1905.
Request clarification before answering.
This post resolves my issue: https://answers.sap.com/questions/12932459/smartedit-jspincludecomponent-jsp-not-rendered-bec.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.