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, waitForXWikiInitialization
Constructor and Description |
---|
ViewAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
action(XWikiContext context) |
String |
render(XWikiContext context) |
cleanupComponents, csrfTokenCheck, execute, execute, getLocalization, getProgress, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, localizePlainOrKey, sendGlobalRedirect, sendRedirect
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public static final String VIEW_ACTION
public boolean action(XWikiContext context) throws XWikiException
action
in class XWikiAction
XWikiException
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
Copyright © 2004–2015 XWiki. All rights reserved.