General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
XAppCode
▼
:
Document Index
»
Page:
ReloadAppCode
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
»
ReloadAppCode
Wiki source code of
ReloadAppCode
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 == "reload") 2: #set($result = $AppManager.reloadApplication($appname)) 3: #if ($result == $Exception.ERROR_NOERROR) 4: #info($msg.get("xapp.successreloadapp", [$appname])) 5: #elseif ($result == $Exception.ERROR_XWIKI_ACCESS_DENIED) 6: #error($msg.get("notallowed")) 7: #else 8: #error($msg.get("xapp.errorreloadapp", [$appname, $result])) 9: #end 10: #end