public interface Controller<M>
Modifier and Type | Method and Description |
---|---|
void |
cleanup(String pWidgetName,
javax.servlet.http.HttpServletRequest pRequest)
This method should clean up the object(s) that was put in the request in
createModel method. |
M |
createModel(String pWidgetName,
String pViewName,
neo.xredsys.presentation.PresentationArticle pWidgetContent,
javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.ServletContext pApplication,
javax.servlet.jsp.PageContext pPageContext,
Boolean pFlush)
Creates the model for the given widget with the given view
|
M createModel(String pWidgetName, String pViewName, neo.xredsys.presentation.PresentationArticle pWidgetContent, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.ServletContext pApplication, javax.servlet.jsp.PageContext pPageContext, Boolean pFlush)
pWidgetName
- the widget namepViewName
- the name of the view. If pViewName is null
it is up to the controller to decide which view to usepWidgetContent
- the content of the widgetpRequest
- the requestpApplication
- the servlet contextpPageContext
- the page contextpFlush
- if this is set true then buffer will be flushed otherwise notvoid cleanup(String pWidgetName, javax.servlet.http.HttpServletRequest pRequest)
createModel
method.pWidgetName
- name of the widgetpRequest
- the servlet request© 1998- 2018 Escenic AS