|
||||||||||
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.EditAction
public class EditAction
Initializes a document before it is edited.
Field Summary |
---|
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
EditAction()
|
Method Summary | |
---|---|
protected XWikiDocument |
prepareEditedDocument(XWikiContext context)
Determines the edited document (translation) and updates it based on the template specified on the request and any additional request parameters that overwrite the default values from the template. |
String |
render(XWikiContext context)
|
Methods inherited from class com.xpn.xwiki.web.XWikiAction |
---|
action, 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 |
Constructor Detail |
---|
public EditAction()
Method Detail |
---|
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
protected XWikiDocument prepareEditedDocument(XWikiContext context) throws XWikiException
context
- the XWiki context
XWikiException
- if something goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |