General Actions:
Log-in
Wiki:
Courses
▼
:
Document Index
»
Space:
Admin
▼
:
Document Index
»
Page:
ExportPage
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Export Page
Wiki source code of
Export Page
Last modified by
Hal Eden
on 2010/08/19 07:32
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
#if(!$request.type) 1.1 Export Page #set($script = $xwiki.getURL("Admin.ExportPageSuggest", "view", "xpage=rdf")) <form id="choosepage" action=""> <input type="hidden" name="type" value="export" /> Choose page: <input type="text" name="name" value="" size="40" onfocus="new ajaxSuggest(this, {script:'${script}&', varname: 'input', seps:'', offsety: 13});" /> <br /> <input type="checkbox" name="versions" value="1" checked /> With versions <br /> <input type="submit" value="Export" /> </form> #else #set($ok = $response.setContentType("text/xml")) #set($ok = $context.setFinished(true)) #set($pdoc = $xwiki.getDocument($request.name)) #if($request.versions=="1") $response.getWriter().print($pdoc.document.toFullXML($context.context)) #else $response.getWriter().print($pdoc.document.toXML(true, false, true, false, $context.context)) #end #end
Welcome
Welcome to this XWiki!
Quick Links
DSSF 2008
DCNM 2009
HCCF 2010
Document Index
Sandbox
My Recent Modifications
ASSIGNMENTNAME