public interface SpringMvcPageEngineClient
Modifier and Type | Method and Description |
---|---|
View |
createPageView(String targetPath,
String embeddableContent)
Creates a View that will embed the supplied content into a given iKnowBase page,
using the path of the page as a key.
|
View |
createStringView(String content)
Creates a view which will render a given content string as text/html, for easy
integration with Spring MVC patterns.
|
View |
createStringView(String content,
String contentType)
Creates a View which will render a given content string using a given contentType,
for easy integration with Spring MVC patterns.
|
String |
renderPage(String path,
String clientPageContent)
Renders an iKnowBase page, using the supplied clientPageContent as an iKnowBase
client page.
|
String |
renderTemplate(String templateFile,
Map<String,?> model)
Renders a file-based template using both the iKnowBase-provided model objects and
the model supplied with the method call, giving priority to the latter.
|
View |
submitPage(String path)
Deprecated.
|
String renderTemplate(String templateFile, Map<String,?> model)
templateFile
- filename of template filemodel
- map of model objects to useString renderPage(String path, String clientPageContent)
path
- path to iKnowBase page, as defined in Development StudioclientPageContent
- string containing content to be exposed as client page@Deprecated View submitPage(String path)
path
- path to iKnowBase page, as defined in Development StudioView createPageView(String targetPath, String embeddableContent)
View createStringView(String content, String contentType)
The View will render using UTF-8 encoding, unless the contentType also contains a charset-specification. UTF-8 is highly recommended.
content
- the content to be rendered by the viewcontentType
- the content type to be renderedCopyright © 2001-2015 e-vita as. All Rights Reserved.