General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
XAppCode
▼
:
Document Index
»
Page:
ImportAppCode
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
Applications manager
»
Space XAppCode
»
ImportAppCode
Wiki source code of
ImportAppCode
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: #if($action && $action == "import") 2: #set($result = $AppManager.importApplication($packagename)) 3: #if ($result == $Exception.ERROR_NOERROR) 4: #info($msg.get("xapp.successimportapp", [$packagename])) 5: #elseif ($result == $Exception.ERROR_XWIKI_ACCESS_DENIED) 6: #error($msg.get("notallowed")) 7: #else 8: #error($msg.get("xapp.errorimportapp", [$packagename, $result])) 9: #end 10: #end