public interface SpringMvcPageEngineClient extends PageEngineClient
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.View |
createPageView(java.lang.String targetPath,
java.lang.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.
|
org.springframework.web.servlet.View |
createStringView(java.lang.String content)
Creates a view which will render a given content string as text/html, for easy
integration with Spring MVC patterns.
|
org.springframework.web.servlet.View |
createStringView(java.lang.String content,
java.lang.String contentType)
Creates a View which will render a given content string using a given contentType,
for easy integration with Spring MVC patterns.
|
org.springframework.web.servlet.View |
submitPage(java.lang.String path)
Deprecated.
|
renderPage, renderTemplate
@Deprecated org.springframework.web.servlet.View submitPage(java.lang.String path)
path
- path to iKnowBase page, as defined in Development Studioorg.springframework.web.servlet.View createPageView(java.lang.String targetPath, java.lang.String embeddableContent)
org.springframework.web.servlet.View createStringView(java.lang.String content, java.lang.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 renderedorg.springframework.web.servlet.View createStringView(java.lang.String content)
content
- the content to be rendered by the viewCopyright © Acando AS. All Rights Reserved.