WidgetFactory
to provide widgets in your
plugins@Deprecated public abstract class WidgetViewController extends ViewController implements org.springframework.web.servlet.mvc.Controller
Modifier and Type | Field and Description |
---|---|
static String |
WIDGET_ID
Deprecated.
Parameter name for the widgets id
|
DEFAULT_MAIN_TEMPLATE, DEFAULT_MAIN_TEMPLATE_ADMINISTRATION
Constructor and Description |
---|
WidgetViewController(org.osgi.framework.BundleContext bundleContext)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentTemplate()
Deprecated.
Not used.
|
abstract String |
getWidgetTemplate()
Deprecated.
|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
doDelete, doGet, doHead, doPost, doPut, doUnknown, getMainTemplate, getSymbolicName, processRequest
public static final String WIDGET_ID
public WidgetViewController(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The bundle context of this controller.public String getContentTemplate()
getContentTemplate
in interface PluginViewController
getContentTemplate
in class ViewController
public abstract String getWidgetTemplate()
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
handleRequest
in class ViewController
Exception
Copyright © 2019 Communote team. All rights reserved.