cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Controller not called in SmartEdit

phoude
Participant
0 Likes
658

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.

Accepted Solutions (1)

Accepted Solutions (1)

phoude
Participant

Answers (0)