From version < 17.1 >
edited by Alexandru Colesnicov
on 2018/11/04 19:57
To version < 3.1 >
edited by Alexandru Colesnicov
on 2018/10/23 19:05
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,13 @@
1 1  {{velocity}}
2 2  
3 +{{velocity}}
4 +
3 3  #if("$!request.docName" != '')
4 4   ## Request for creating a new instance
5 5   #set($docName = ${request.docName})
6 6   #set($targetDocName = "${request.spaceName}.${docName}")
7 7   #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit', $xcontext.user, $targetDocName))
8 - $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&title=${request.docName}&parent=${escapetool.url($request.parent)}"))
10 + $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&parent=${escapetool.url($request.parent)}"))
9 9   ## Stop processing, since we already sent a redirect.
10 10   #stop
11 11   #end
... ... @@ -32,7 +32,6 @@
32 32   </form>
33 33  {{/html}}
34 34  
35 -[[Duncan Result>>Duncan1.DuncanResult.WebHome]]
36 36  
37 37  #set ($columnsProperties = {
38 38   'doc.title': {"link":"view"},
... ... @@ -52,17 +52,3 @@
52 52  #set ($columns = ['doc.title', 'QuaWoman', 'QuaMan', 'doc.author', '_actions'])
53 53  #livetable('Duncan1' $columns $columnsProperties $options)
54 54  {{/velocity}}
55 -
56 -{{python}}
57 -print "The full name of this document is " + doc.getFullName()
58 -import sys
59 -print sys.path
60 -{{/python}}
61 -
62 -{{velocity}}
63 -#set($hql = "")
64 -#set($results = $xwiki.searchDocuments($hql, 5, 0))
65 -#foreach ($item in $results)
66 - * $item
67 -#end
68 -{{/velocity}}

Tips

You can click on the arrows next to the breadcrumb elements to quickly navigate to sibling and children pages.

Need help?

If you need help with XWiki you can contact: