Changes for page Projects Powered by XWiki
Last modified by Thomas Mortagne on 2020/02/10
To version 18.13
edited by Vincent Massol
on 2012/07/05
on 2012/07/05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,10 @@ 1 +{{velocity}} 2 +## If this page is called with createReference=true then create a new page using the ReferenceClassTemplate template 3 +#if ($request.createReference == "true") 4 + $response.sendRedirect($xwiki.getURL("References.${request.reference}", "inline", "$!{request.queryString}&title=${request.reference}")) 5 +#end 6 +{{/velocity}} 7 + 1 1 XWiki is the next generation wiki, a generic web development platform for collaborative applications. As such its use cases are diverse: collaborative intranet, knowledge base, CMS, competitive intelligence, public debate, collaborative creation of school courses, web site creation, etc. See below a list of projects based on XWiki. 2 2 3 3 If you're using XWiki yourself, we'd love to know about it. Please fill in the form below and add information about your usage of XWiki. This will help promote XWiki and fund its development. ... ... @@ -12,7 +12,7 @@ 12 12 <input type="hidden" name="parent" value="References.WebHome" /> 13 13 <input type="hidden" name="template" value="XWiki.ReferenceClassTemplate" /> 14 14 <input type="hidden" name="sheet" value="1" /> 15 - <input type="hidden" name=" webname" value="References"/>22 + <input type="hidden" name="createReference" value="true" /> 16 16 <input type="hidden" name="name" value=""/> 17 17 <table> 18 18 <tr> ... ... @@ -20,7 +20,7 @@ 20 20 <input type="text" name="reference" value="" size="30"/> 21 21 </td> 22 22 <td> 23 - <input type="submit" value="Add this Project" onclick='if (updateName(this.form.reference,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' />30 + <input type="submit" value="Add this Project" /> 24 24 </td> 25 25 </tr> 26 26 </table>