WhatisthetemplatewichsavesapageafterclickintheoptionSaveandview

Last modified by Vincent Massol on 2007/03/06

Question What is the template wich saves a page after clickin' the option "Save and view"?
Answer The document is not saved by a template, but by a struts action.

XWiki uses different actions for different purposes. The action is part of the URL, just before the document name (.../view/My/Document, .../edit/My/Document). You probably noticed actions like inline, edit, view, but there are more. For saving documents, the action is save, which triggers the com.xpn.xwiki.web.SaveAction class. You can look in there to see how the document is saved.

Tags:
Created by jasupel on 2007/02/09
   

Get Connected