General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
AppWithinMinutes
▼
:
Document Index
»
Page:
LiveTableViewSheet
Search
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
App Within Minutes
»
LiveTable Class
»
LiveTable View Sheet
Wiki source code of
LiveTable View Sheet
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity}} 2: #set($liveTableObj = $doc.getObject('AppWithinMinutes.LiveTableClass')) 3: #if($liveTableObj) 4: #set($discard = $doc.use($liveTableObj)) 5: #set($discard = $xwiki.ssx.use('AppWithinMinutes.LiveTableViewSheet')) 6: #set($discard = $xwiki.jsx.use('AppWithinMinutes.LiveTableViewSheet')) 7: #set($className = $liveTableObj.getProperty('class').value) 8: (% id="actionBox" class="floatinginfobox" %) 9: ((( 10: = $msg.get('platform.appwithinminutes.appHomePageActionsHeading') = 11: {{html wiki="true"}} 12: * [[$msg.get('platform.appwithinminutes.appHomePageAddEntryHint')>>#AddNewEntry||class="action add"]]## 13: #set($templateName = $className) 14: #if($templateName.endsWith('Class')) 15: #set($templateName = $templateName.substring(0, $mathtool.sub($templateName.length(), 5))) 16: #end 17: #set($templateName = $escapetool.url("${templateName}Template")) 18: #set($entryDoc = $services.model.createDocumentReference($doc.wiki, $doc.space, '__entryName__')) 19: {{html clean="false"}}<input type="hidden" value="$xwiki.getURL($entryDoc, 'edit', "editor=inline&template=$!templateName&parent=WebHome")" />{{/html}} 20: * <a class="action edit" href="$xwiki.getURL($className, 'edit')">$msg.get('platform.appwithinminutes.appHomePageEditClassLabel')</a> 21: {{/html}} 22: ))) 23: = $msg.get('platform.appwithinminutes.appHomePageDescriptionHeading') = 24: $doc.display('description') 25: ## Display the live table only if it was generated. 26: #if($doc.content.length() > 0) 27: = $msg.get('platform.appwithinminutes.appLiveTableHeading') = 28: {{include document="$doc.fullName.replaceAll('~', '~~').replaceAll('"', '~"')"/}} 29: #end 30: #end 31: {{/velocity}}