Search Context
When a URL contains a search request, the templates is rendered in the search context
search.vm — all search request are handled by this template is used. The search template should also handle empty search results, and invalid search queries.
Methods
Name | Type | Description |
---|---|---|
| HtmlSafeString | A HTML snippet containing the attribution line that must be included in Scroll Viewport themes. |
| String | The base URL for the current prefix, not including the viewport path prefix. May be different from the base URL of Confluence if the viewport is configured for a specific domain. |
| An object for accessing information about blog posts. This is an alias for: | |
| A helper that provides access to the comment API. | |
| String | The web application context path of Confluence, for example: |
| org.joda.time.DateTime | The current DateTime. See Joda DateTime API for more information. The current user locale can be obtained using |
| A placeholder to find spaces and pages. | |
| boolean |
|
| boolean |
|
| A placeholder for HTML operations. | |
| An object for retrieving I18n resources. | |
| A helper for including templates from the viewport theme and pages and blog posts from the Confluence system. | |
| boolean |
|
| boolean |
|
| boolean |
|
| boolean |
|
| The language properties or null if languages are not enabled. This is an alias for: | |
| A helper that can be used to construct links to content in Confluence, such as pages, blog posts and spaces. | |
| Class<java.lang.Math> | A helper object for mathematical operations. See java.lang.Math for more information. |
| The page or blog post to be rendered. | |
| The page or blog post to be rendered. | |
| The Pager for the search results. | |
| An object for accessing information about the pages. This is an alias for: | |
| A placeholder for the Confluence read-only mode. | |
| Redirect | A placeholder for redirect. |
| The content repository of the current viewport. | |
| The search request. | |
| The search results. | |
| A Placeholder for sorting lists and maps. | |
| The space for which the viewport is configured. | |
| String | The 3-digit status code of the current HTTP response. Will typically be 200 if no error occurred. |
| String | The reason phrase of the HTTP status response. Will usually be Ok if no error occurred. |
| A helper object for escaping strings in the template. See StringEscapeUtils for more information. | |
| org.apache.commons.lang.StringUtils | A helper object for modifying strings in the template. See StringUtils for more information. |
| The current theme. Use to reference resources like CSS, JavaScript and image files from the theme, for example: | |
| A helper object for rendering the page tree of the current viewport. Caution: The tree rendered by this helper contains all pages in the space and can potentially be very large. | |
| Upp | A placeholder for accessing extended user properties provided the "User Profile Plugin". For example: |
| The current URL. | |
| Helper object for escaping strings for URLs. | |
| The currently logged in user. | |
| String | The query string as provided by the user, as specified by the HTTP search request. HTTP parameter name: |
| The variant properties or null if variants are not enabled. This is an alias for: | |
| The version properties or null if versions are not enabled. This is an alias for: | |
| The current viewport. | |
| A Placeholder for accessing Confluence. web panel modules. | |
| A placeholder for generating an XSRF token to be included into follow-up form submissions or AJAX requests. |