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
Show line numbers
{{velocity}} #set($liveTableObj = $doc.getObject('AppWithinMinutes.LiveTableClass')) #if($liveTableObj) #set($discard = $doc.use($liveTableObj)) #set($discard = $xwiki.ssx.use('AppWithinMinutes.LiveTableViewSheet')) #set($discard = $xwiki.jsx.use('AppWithinMinutes.LiveTableViewSheet')) #set($className = $liveTableObj.getProperty('class').value) (% id="actionBox" class="floatinginfobox" %) ((( = $msg.get('platform.appwithinminutes.appHomePageActionsHeading') = {{html wiki="true"}} * [[$msg.get('platform.appwithinminutes.appHomePageAddEntryHint')>>#AddNewEntry||class="action add"]]## #set($templateName = $className) #if($templateName.endsWith('Class')) #set($templateName = $templateName.substring(0, $mathtool.sub($templateName.length(), 5))) #end #set($templateName = $escapetool.url("${templateName}Template")) #set($entryDoc = $services.model.createDocumentReference($doc.wiki, $doc.space, '__entryName__')) {{html clean="false"}}<input type="hidden" value="$xwiki.getURL($entryDoc, 'edit', "editor=inline&template=$!templateName&parent=WebHome")" />{{/html}} * <a class="action edit" href="$xwiki.getURL($className, 'edit')">$msg.get('platform.appwithinminutes.appHomePageEditClassLabel')</a> {{/html}} ))) = $msg.get('platform.appwithinminutes.appHomePageDescriptionHeading') = $doc.display('description') ## Display the live table only if it was generated. #if($doc.content.length() > 0) = $msg.get('platform.appwithinminutes.appLiveTableHeading') = {{include document="$doc.fullName.replaceAll('~', '~~').replaceAll('"', '~"')"/}} #end #end {{/velocity}}