Class BroadleafWidgetController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
com.broadleafcommerce.advancedcms.web.controller.BroadleafWidgetController
@Controller("blWidgetController")
@RequestMapping("/widget")
public class BroadleafWidgetController
extends org.broadleafcommerce.common.web.controller.BroadleafAbstractController
This class works in combination with the
WidgetJsProcessor, which creates
javascript import tags that are supplied with the given widget's js content by this controller.- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.Logprotected WidgetService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetWidgetJs(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Long id) Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
addDeepLink, getContextPath, isAjaxRequest, jsonResponse
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG -
widgetService
-
-
Constructor Details
-
BroadleafWidgetController
public BroadleafWidgetController()
-
-
Method Details