public class ViewAction extends XWikiAction
struts-config.xml. It means the request is to display a page in view mode.| Modifier and Type | Field and Description |
|---|---|
static String |
VIEW_ACTION
The identifier of the view action.
|
ACTION_PROGRESS, handleRedirectObject, waitForXWikiInitialization| Constructor and Description |
|---|
ViewAction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
action(XWikiContext context) |
String |
render(XWikiContext context) |
answerJSON, cleanupComponents, csrfTokenCheck, csrfTokenCheck, execute, execute, getContextualAuthorizationManager, getCurrentMixedDocumentReferenceResolver, getCurrentScriptContext, getEntityNameValidationConfiguration, getEntityNameValidationManager, getLocalization, getLocalSerializer, getProgress, getRealPath, getTranslatedDocument, handleRedirectObject, handleRevision, initializeContainerComponent, initializeXWikiContext, isEntityReferenceNameValid, localizePlainOrKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, writeAjaxErrorResponseaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic static final String VIEW_ACTION
public boolean action(XWikiContext context) throws XWikiException
action in class XWikiActionXWikiExceptionpublic String render(XWikiContext context) throws XWikiException
render in class XWikiActionXWikiExceptionCopyright © 2004–2021 XWiki. All rights reserved.