public interface WidgetFactory
Widget
instance for a given widget group name and widget type
name. Additionally the current request parameters can be evaluated to create a suitable widget.Modifier and Type | Method and Description |
---|---|
Widget |
createWidget(String widgetGroupName,
String widgetName,
Map<String,String[]> requestParameters)
Create a new widget instance that should handle the current widget request.
|
Widget createWidget(String widgetGroupName, String widgetName, Map<String,String[]> requestParameters) throws WidgetCreationException
widgetGroupName
- the group of the widgetwidgetName
- the name of the widgetrequestParameters
- the request parameters of the current requestWidgetCreationException
- in case the widget cannot be createdCopyright © 2019 Communote team. All rights reserved.