Consortium
Activities
Projects
Forge
Events
Log-in
Register
Presentation
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 Presentation 1.1 Create a new presentation To create a new presentation, you should first choose a name for your presentation. #includeTopic("XWiki.XWikiCommonJavascript") <form action="" id="newdoc"> <input type="hidden" name="parent" value="Main.Presentations"> <input type="hidden" name="template" value="XWiki.PresentationClassTemplate"> <input type="hidden" name="sheet" value="1"> <input type="hidden" name="webname" value="Demo" size="8"> Document: <input type="text" name="name" value="Name of your presentation" size="80" /> <br /> <br /> <input type="button" value="Create this presentation" onclick='if (updateName(this.form.name)) {this.form.action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'> </form> 1.1 Existing Presentations #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.PresentationClass' and obj.name<>'XWiki.PresentationClassTemplate'") #foreach ($item in $xwiki.searchDocuments($sql)) #set($itemdoc = $xwiki.getDocument($item)) * $itemdoc.name: <a href="$itemdoc.getURL("view")">Preview</a> <a href="$itemdoc.getURL("inline")">Edit</a> <a href="$itemdoc.getURL("view", "xpage=s5b")">Launch</a> #end 1.1 About this tool This tool integrates S5 with XWiki. It allows to build a presentation using [S5>http://www.meyerweb.com/eric/tools/s5/] from [Eric Meyer>http://www.meyerweb.com/eric/]. It uses XWiki forms to permit creation of a S5 presentation without any use of HTML. It will generate the HTML that is going to be understood by the S5 stylesheet and javascript. We used a slightly modified version of the S5 model done by [Human Factor>http://www.wats.ca/presentations/humanfactor/]. Our S5 stylesheets and javascript are available [here>http://www.xwiki.com/xwiki/s5/ui2/]