@Component @Named(value="view") @Singleton 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, componentDescriptor, container, execution, handleRedirectObject, observation, waitForXWikiInitialization
Constructor and Description |
---|
ViewAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
render(XWikiContext context) |
action, answerJSON, cleanupComponents, csrfTokenCheck, csrfTokenCheck, execute, execute, getContextualAuthorizationManager, getCurrentMixedDocumentReferenceResolver, getCurrentScriptContext, getEntityNameValidationConfiguration, getEntityNameValidationManager, getFormClass, getLocalization, getLocalSerializer, getName, getProgress, getRealPath, getTranslatedDocument, handleRedirectObject, handleRevision, initializeContainerComponent, initializeXWikiContext, initializeXWikiContext, isEntityReferenceNameValid, localizePlainOrKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, writeAjaxErrorResponse
public static final String VIEW_ACTION
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
Copyright © 2004–2021 XWiki. All rights reserved.