%PDF- %PDF-
Direktori : /proc/309157/root/home/waritko/jetty-distribution-9.4.21.v20190926/webapps/ROOT/templates/ |
Current File : //proc/309157/root/home/waritko/jetty-distribution-9.4.21.v20190926/webapps/ROOT/templates/watch.vm |
#set ($do = "$!request.do") ## #if ($request.reference) { #set ($watchRef = $request.reference) #end ## #if ($do.contains('wiki')) #set ($elementType = 'WIKI') #elseif ($do.contains('space')) #set ($elementType = 'SPACE') #elseif ($do.contains('document')) #set ($elementType = 'DOCUMENT') #elseif ($do.contains('user')) #set ($elementType = 'USER') #set ($watchRef = $services.model.serialize($doc.documentReference, 'default')) #end ## #if ($do.startsWith('add')) #set ($discard = $services.watchlist.addWatchedElement($watchRef, $elementType)) #elseif ($do.startsWith('remove')) #set ($discard = $services.watchlist.removeWatchedElement($watchRef, $elementType)) #end ## #if ("$!request.xredirect" != "") $response.sendRedirect($request.xredirect) #end