一般动作
登录
Wiki:
BROPEN
▼
:
Document Index
»
Space:
WorkspaceManager
▼
:
Document Index
»
Page:
WebHome
搜索
default
页面动作
导出
▼
:
以PDF格式导出
以RTF格式导出
以HTML格式导出
更多动作
▼
:
打印预览
察看源码
欢迎进入Wiki
»
Browse Wikis
Wiki源代码
Browse Wikis
在2013-10-09 15:03上被
Administrator
修改
内容
·
评论
(0)
·
附件
(0)
·
记录
·
信息
隐藏行号
1: {{velocity}} 2: ## Load the User Picker style for the wiki owner column. 3: #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) 4: #set($columns = ['wikiprettyname', 'description', 'owner', 'membershipType']) 5: #set($columnsProperties = { 6: 'wikiprettyname' : { 'type' : 'text', 'link' : 'field' }, 7: 'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' }, 8: 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' }, 9: 'membershipType' : { 'type' : 'text', 'class' : 'WorkspaceManager.WorkspaceClass'} 10: }) 11: #set($options = { 12: 'className' : 'XWiki.XWikiServerClass', 13: 'rowCount' : 10, 14: 'resultPage' : 'WorkspaceManager.BrowseWorkspacesLiveTableResults', 15: 'translationPrefix' : 'workspacemanager.browse.' 16: }) 17: #if(!$isGuest) 18: #set($discard = $columns.add('_actions')) 19: #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'delete'] })) 20: #end 21: #livetable('workspaces', $columns, $columnsProperties, $options) 22: {{/velocity}}
快速链接
首页
新闻动态
FAQ