|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
com.xpn.xwiki.web.XWikiAction
com.xpn.xwiki.web.ViewAction
public class ViewAction
Action called when the request URL has the "/view/" string in its path (this is configured in
struts-config.xml
. It means the request is to display a page in view mode.
Field Summary | |
---|---|
static String |
VIEW_ACTION
The identifier of the view action. |
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
ViewAction()
|
Method Summary | |
---|---|
boolean |
action(XWikiContext context)
|
String |
render(XWikiContext context)
|
Methods inherited from class com.xpn.xwiki.web.XWikiAction |
---|
cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VIEW_ACTION
Constructor Detail |
---|
public ViewAction()
Method Detail |
---|
public boolean action(XWikiContext context) throws XWikiException
action
in class XWikiAction
XWikiException
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |