  
                    





                
                
  
  



<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
  <head>
                    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                                    <title>Sheet for XWikiServerClass</title>
                        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
                <link rel="shortcut icon" href="resources/icons/xwiki/favicon.ico" />
        <link rel="icon" href="resources/icons/xwiki/favicon16.png" type="image/png" />
        <link rel="icon" href="resources/icons/xwiki/favicon.svg" type="image/svg+xml" />
        <link rel="apple-touch-icon" href="resources/icons/xwiki/favicon144.png" />
                <meta http-equiv="Content-Script-Type" content="text/javascript" />
                        <meta http-equiv="imagetoolbar" content="no"/>
                                <link rel="canonical" href="xwiki.XWiki.XWikiServerClassSheet.html" />
                            <meta name="document" content="XWiki.XWikiServerClassSheet"/>
    <meta name="wiki" content="xwiki"/>
    <meta name="space" content="XWiki"/>
    <meta name="page" content="XWikiServerClassSheet"/>
    <meta name="version" content="1.1"/>
    <meta name="restURL" content="/rest/wikis/xwiki/spaces/XWiki/pages/XWikiServerClassSheet"/>
    <meta name="form_token" content="kmACby95P768P4kFeG6peQ"/>
                <meta name="gwt:property" content="locale=de" />
                <meta name="revisit-after" content="7 days" />
<meta name="description" content="Sheet for XWikiServerClass" />
<meta name="keywords" content="wiki" />
<meta name="distribution" content="GLOBAL" />
<meta name="rating" content="General" />
<meta name="author" content="Administrator" />
<meta http-equiv="reply-to" content="" />
<meta name="language" content="de" />
<meta name="google-site-verification" content="qE1BFB2hw6qPJgzEuttEuj-GlvC4aWOtFVY4rJKYhWw" />
<link rel="icon" href="attachment/xwiki.XWiki.DefaultSkin.favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="attachment/xwiki.XWiki.DefaultSkin.favicon.ico" type="image/x-icon"/>
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="http://scm.bytebang.at/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="http://scm.bytebang.at/Blog/GlobalBlogRss?xpage=plain" />

                <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
<link href="skins/colibri/style.css?colorTheme=ColorThemes.DefaultColorTheme" rel="stylesheet" type="text/css" media="all" />
<link href="skins/colibri/print.css?colorTheme=ColorThemes.DefaultColorTheme" rel="stylesheet" type="text/css" media="print" />
        <!--[if IE]>
  <link href="skins/colibri/ie-all.css?colorTheme=ColorThemes.DefaultColorTheme" rel="stylesheet" type="text/css" />
<![endif]-->
    <!-- com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin -->
  <!-- com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin -->
  <!-- com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin -->

                                                                                                                                                                                                                                                        <!-- com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin -->
    <!-- com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin -->
    <!-- com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin -->

<script type="text/javascript" src="resources/js/xwiki/compatibility.js" defer="defer"></script>
<script type="text/javascript" src="resources/js/xwiki/markerScript.js" defer="defer"></script>
<script type="text/javascript">
// <![CDATA[
require.config({
  baseUrl: '/',
    paths: { 'jquery': "resources/js/amd/jquery" },
  map: {
    '*': { 'jquery': 'jQueryNoConflict' },
    'jQueryNoConflict': { 'jquery': 'jquery' }
  }
});
define('jQueryNoConflict', ['jquery'], function($) { $.noConflict(); return $; });
XWiki.webapppath = "";
XWiki.servletpath = "bin/";
XWiki.contextPath = "";
XWiki.mainWiki = "xwiki";
XWiki.currentWiki = "xwiki";
XWiki.currentSpace = "XWiki";
XWiki.currentPage = "XWikiServerClassSheet";
XWiki.editor = "";
XWiki.viewer = "";
XWiki.contextaction = "export";
XWiki.docisnew = false;
XWiki.docsyntax = "xwiki/2.1";
XWiki.docvariant = "";
XWiki.blacklistedSpaces = [ "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes","AnnotationCode" ];
XWiki.hasEdit = false;
XWiki.hasProgramming = false;
XWiki.hasBackupPackImportRights = false;
XWiki.hasRenderer = true;
window.docviewurl = "xwiki.XWiki.XWikiServerClassSheet.html";
window.docediturl = "http://scm.bytebang.at/bin/edit/XWiki/XWikiServerClassSheet";
window.docsaveurl = "http://scm.bytebang.at/bin/save/XWiki/XWikiServerClassSheet";
window.docgeturl = "http://scm.bytebang.at/bin/get/XWiki/XWikiServerClassSheet";
// ]]>
</script>

  </head>
  <body id="body" class="skin-colibri wiki-xwiki space-XWiki viewbody hidelefthideright">
<div id="xwikimaincontainer">
<div id="xwikimaincontainerinner">

  <div id="menuview">
    <div id="mainmenu" class="layoutsubsection actionmenu">
<div class="gradientfilterIE"></div>
<div class="componentcontainer">
<strong id="xwikimenutitle" class="hidden">Allgemeine Aktionen:</strong>
<div class="rightmenu">
      <div id="tmLogin" class="tmLogin topmenuentry ">
   <a class="tme" href="http://scm.bytebang.at/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2Fscm.bytebang.at%2Fbin%2Fexport%2FXWiki%2FXWikiServerClassSheet%3Fformat%3Dhtml%26showlinenumbers%3D0%26viewer%3Dcode"><strong>Anmelden</strong></a>
  </div>
    <div id="tmRegister" class="tmRegister topmenuentry ">
   <a class="tme" href="http://scm.bytebang.at/bin/register/XWiki/Register"><strong>Registrieren</strong></a>
  </div>
</div>
<div class="leftmenu">
  <div id="tmMainWiki" class="tmMainWiki topmenuentry dropdownmenuentry  hasIcon" onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
   <a class="tme" href="http://scm.bytebang.at/bin/Main/"><strong>Start</strong></a>
    <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
        <span class="submenuitem "><a href="http://scm.bytebang.at/bin/WikiManager/" id="tmWikiIndex" class="tmWikiIndex">Wiki Verzeichnis</a></span>
      </span></div>
<div class="topmenuentry"><span class="separator">&raquo;</span></div>
  <div id="tmSpace" class="tmSpace topmenuentry hasIcon">
      <span class="tmetype">Bereich: </span><a class="tme hastype" href="http://scm.bytebang.at/bin/XWiki/"><strong>XWiki</strong></a>
  </div>
<div class="topmenuentry"><span class="separator">&raquo;</span></div>
  <div id="tmPage" class="tmPage topmenuentry hasIcon">
      <span class="tmetype">Seite: </span><a class="tme hastype" href="xwiki.XWiki.XWikiServerClassSheet.html"><strong>XWikiServerClassSheet</strong></a>
  </div>
</div>
</div>
</div>

  </div>
 <div id="headerglobal" class="layoutsection">
<div class="minwidthd"></div>
  <div id="company">
  <div id="companylogo">
    <a href="http://scm.bytebang.at/bin/Main/" title="Home" rel="home">
    <img src="attachment/xwiki.ColorThemes.DefaultColorTheme.logo.png" alt="Wiki Logo"/>
    </a>
  </div>   </div>   <div id="globallinks">
      <span class="glink" id="headerlanguages">
            <a href="xwiki.XWiki.XWikiServerClassSheet.html" class="language-default language-current">default</a>
      </span>
  </div>   <div class="clearfloats"></div>
  </div> 

<div class="contenthidelefthideright" id="contentcontainer">
<div id="contentcontainerinner">
<div class="leftsidecolumns">
  <div id="contentcolumn"> 
        <div class="main layoutsubsection">
      <div id="contentmenu" class="actionmenu">
    <div class="gradientfilterIE"></div>
<div class="componentcontainer">
<strong id="xwikicontentmenutitle" class="hidden">Aktionen:</strong>
<div class="rightmenu">
</div>
<div class="leftmenu">
  <div id="tmExport" class="tmExport topmenuentry dropdownmenuentry dropdownnolink " onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
   <a class="tme"><strong>Exportieren</strong></a>
    <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
    <span class="submenuitem "><a href="xwiki.XWiki.XWikiServerClassSheet.html" id="tmExportPdf" class="tmExportPdf">Als PDF exportieren</a></span>
    <span class="submenuitem "><a href="http://scm.bytebang.at/bin/export/XWiki/XWikiServerClassSheet?format=rtf&amp;format=html&amp;showlinenumbers=0&amp;viewer=code" id="tmExportRtf" class="tmExportRtf">Als RTF exportieren</a></span>
  <span class="submenuitem "><a href="http://scm.bytebang.at/bin/export/XWiki/XWikiServerClassSheet?format=html&amp;format=html&amp;showlinenumbers=0&amp;viewer=code" id="tmExportHtml" class="tmExportHtml">Als HTML exportieren</a></span>
    </span></div>
  <div id="tmMoreActions" class="tmMoreActions topmenuentry dropdownmenuentry dropdownnolink " onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
   <a class="tme"><strong>Weitere Aktionen</strong></a>
    <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
  <span class="submenuitem "><a href="xwiki.XWiki.XWikiServerClassSheet.html" id="tmPrintPreview" class="tmPrintPreview">Druckvorschau</a></span>
  <span class="submenuitem "><a href="xwiki.XWiki.XWikiServerClassSheet.html" id="tmViewSource" class="tmViewSource">Zeige den Quellcode</a></span>
  </span></div>
  </div>
</div>
    </div>
    <div id="mainContentArea">
  
   <div id="hierarchy">
                                                                  <a href='http://scm.bytebang.at/bin/Main/'>Willkommen bei bytebang</a> <span class='separator'>&#187;</span> <a href='http://scm.bytebang.at/bin/XWiki/'>XWiki Bereich</a> <span class='separator'>&#187;</span> <a href='http://scm.bytebang.at/bin/XWiki/XWikiClasses'>Data types</a> <span class='separator'>&#187;</span> <a href='http://scm.bytebang.at/bin/XWiki/XWikiServerClass'>XWiki Server Class</a> <span class='separator'>&#187;</span> <span class='current'>Sheet for XWikiServerClass</span>
                                  </div>

      <div id="document-title"><h1>Wiki-Quellcode von <a href="xwiki.XWiki.XWikiServerClassSheet.html">Sheet for XWikiServerClass</a></h1></div>
                    <div id="document-info">
    <div class="xdocLastModification">       Zuletzt geändert von <span class="wikilink"><a href="http://scm.bytebang.at/bin/XWiki/Admin">Administrator</a></span> am 2014/06/29 19:30
    </div>
    <div>
                      <span id="attachmentsshortcut"><a href="xwiki.XWiki.XWikiServerClassSheet.html">Anhänge</a> <span class="itemCount">(0)</span></span>
               <span class="separator">&#183;</span>         <span id="informationshortcut"><a href="xwiki.XWiki.XWikiServerClassSheet.html">Information</a></span>
          </div>
    <div class="clearfloats"></div>
  </div>

<div>
  <a href="xwiki.XWiki.XWikiServerClassSheet.html" id="toggleLineNumbers">Zeilennummern anzeigen</a>
  <textarea readonly="readonly" class="wiki-code" rows="25" cols="80">{{velocity}}
#############################
##        GLOBALS
#############################
#set ($wikiId = $doc.name.replaceAll('XWikiServer', '').toLowerCase())
#set ($wiki = $services.wiki.getById($wikiId))
#set ($descriptorObj = $doc.getObject('XWiki.XWikiServerClass'))
#set ($templateObj = $doc.getObject('WikiManager.WikiTemplateClass'))
#set ($aliases = $doc.getObjects('XWiki.XWikiServerClass'))
#############################
##       CONTROLLER
#############################
#controller()
#macro(controller)
  #if ($doc.fullName == &quot;XWiki.XWikiServerClassSheet&quot; || $doc.fullName == &quot;XWiki.XWikiServerClassTemplate&quot;)
    = Document &quot;$doc.name&quot; =
  #elseif ($request.action == 'create' &amp;&amp; &quot;$!request.domain&quot; != '' &amp;&amp; $request.domain.trim().length() &gt; 0)
    #createAlias()
  #elseif ($request.action == 'delete' &amp;&amp; &quot;$!request.domain&quot; != '' &amp;&amp; $request.domain.trim().length() &gt; 0)
    #deleteAlias()
  #elseif ($xcontext.action == 'edit')
    #edit()
  #else
    #view()
  #end
#end
#############################
##         VIEW
#############################
#macro(view)
  #set($adminPageRef = $services.model.createDocumentReference($wiki.id, 'XWiki', 'XWikiPreferences'))
  #set($adminPageLink = &quot;[[$services.localization.render('platform.wiki.sheet.descriptor.admin')&gt;&gt;$adminPageRef]]&quot;)
  {{translation key=&quot;platform.wiki.sheet.descriptor&quot; parameters=&quot;${wiki.id},${adminPageLink}&quot;/}} $adminPageLink
  
  {{toc /}}
  #displaySettings()
  #displayAliases()
  #createAliasForm()
#end
#############################
##         EDIT
#############################
#macro(edit)
  {{toc /}}
  #displaySettings()
  #displayAliases()
#end
#############################
##      CREATE ALIAS
#############################
#macro(createAlias)
  #if (!${services.csrf.isTokenValid(&quot;$!{request.getParameter('form_token')}&quot;)})

    {{error}}{{translation key=&quot;notallowed&quot;/}}{{/error}}

  #elseif (!$wiki.aliases.contains($request.domain))
    #set ($alias = $doc.newObject(&quot;XWiki.XWikiServerClass&quot;))
    #set ($discard = $alias.set(&quot;server&quot;, $request.domain))
    #set ($discard = $alias.set(&quot;homepage&quot;, &quot;Main.WebHome&quot;))
    #set ($discard = $doc.save())
    $response.sendRedirect($doc.getURL())
  #else

    {{error}}{{translation key=&quot;platform.wiki.sheet.erroraliasalreadynotexists&quot; parameters=&quot;$request.domain&quot;/}}{{/error}}

  #end
#end
#############################
##      DELETE ALIAS
#############################
#macro(deleteAlias)
  #if (!${services.csrf.isTokenValid(&quot;$!{request.getParameter('form_token')}&quot;)})

    {{error}}{{translation key=&quot;notallowed&quot;/}}{{/error}}
    
  #elseif ($wiki.aliases.contains($request.domain))
    #set ($alias = $doc.getObject('XWiki.XWikiServerClass', 'server', $request.domain))
    #set ($removed = $doc.removeObject($alias))
    #set ($discard = $doc.save())
    $response.sendRedirect($doc.getURL())
  #else
  
    {{error}}{{translation key=&quot;platform.wiki.sheet.erroraliasdoesnotexists&quot; parameters=&quot;$request.domain&quot;/}}{{/error}}
    
  #end
#end
#############################
##    DISPLAY SETTINGS
#############################
#macro(displaySettings)
  = {{translation key=&quot;platform.wiki.sheet.title.settings&quot;/}} =
  {{html wiki=&quot;true&quot; clean=&quot;false&quot;}}
  &lt;div class=&quot;xform&quot;&gt;
  &lt;dl&gt;
    #displayField('wikiprettyname', $descriptorObj)
    #displayField('owner', $descriptorObj)
    #displayField('secure', $descriptorObj)
    #displayField('iswikitemplate', $templateObj)
    #displayField('server', $descriptorObj)
    #displayField('description', $descriptorObj)
    #displayField('homepage', $descriptorObj)
  &lt;/dl&gt;
  &lt;/div&gt;
  {{/html}}
#end
#############################
##      DISPLAY FIELD
#############################
#macro(displayField $fieldName $object)
  #if (&quot;$!object&quot; != '')
    &lt;dt&gt;
      #if ($xcontext.action=='edit')
        &lt;label for=&quot;${object.xWikiClass.name}_${object.number}_${fieldName}&quot;&gt;
      #else
        &lt;label&gt;
      #end
      {{translation key=&quot;platform.wiki.sheet.prop.${fieldName}&quot; /}}:
      &lt;/label&gt;
      &lt;span class=&quot;xHint&quot;&gt;{{translation key=&quot;platform.wiki.sheet.desc.${fieldName}&quot; /}}&lt;/span&gt;
    &lt;/dt&gt;
    &lt;dd&gt;$object.get($fieldName)&lt;/dd&gt;
  #end
#end
#############################
##    DISPLAY ALIASES
#############################
#macro(displayAliases)
  = {{translation key=&quot;platform.wiki.sheet.title.viewaliases&quot;/}} =
  {{translation key=&quot;platform.wiki.sheet.aliases&quot;/}}
  #if ($aliases.size() &gt; 1)
    #foreach ($alias in $aliases)
      #if ($velocityCount &gt; 1)
        == $alias.display('server', 'view') ==
        {{html wiki=&quot;true&quot; clean=&quot;false&quot;}}
        &lt;div class=&quot;xform&quot;&gt;
          &lt;dl&gt;
            #displayField('description', $alias)
            #displayField('homepage', $alias)
          &lt;/dl&gt;
        &lt;/div&gt;
        {{/html}}
        #if ($xcontext.action == 'view')
          #deleteButton($alias)
        #end
      #end
    #end 
  #end
#end
#############################
##   DELETE ALIAS BUTTON
#############################
#macro(deleteButton $alias)
  #if($xcontext.action == 'view')

    {{html}}
      &lt;form method=&quot;get&quot; action=&quot;$doc.getURL('view')&quot;&gt;
        &lt;fieldset&gt;
          &lt;input type=&quot;hidden&quot; name=&quot;form_token&quot; value=&quot;$!{services.csrf.getToken()}&quot; /&gt;
          &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;delete&quot;/&gt;
          &lt;input type=&quot;hidden&quot; name=&quot;domain&quot; value=&quot;$alias.server&quot;/&gt;
          &lt;input type=&quot;submit&quot; class=&quot;button&quot; value=&quot;$services.localization.render('delete')&quot;/&gt;
        &lt;/fieldset&gt;
      &lt;/form&gt;
    {{/html}}

  #end
#end
#############################
##   CREATE ALIAS FORM
#############################
#macro(createAliasForm)
  = {{translation key=&quot;platform.wiki.sheet.title.createnewalias&quot;/}} =
  
  {{html}}
    &lt;form method=&quot;get&quot; action=&quot;$doc.getURL('view')&quot;&gt;
      &lt;fieldset&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;form_token&quot; value=&quot;$!{services.csrf.getToken()}&quot; /&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;create&quot;/&gt;
        &lt;label for=&quot;inputdomain&quot;&gt;$services.localization.render('platform.wiki.sheet.prop.server')&lt;/label&gt;:
        &lt;input id=&quot;inputdomain&quot; type=&quot;text&quot; name=&quot;domain&quot; class=&quot;wikialiasinput&quot;/&gt;
        &lt;input type=&quot;submit&quot; class=&quot;button&quot; value=&quot;$services.localization.render('create')&quot;/&gt;
      &lt;/fieldset&gt;
    &lt;/form&gt;
  {{/html}}
  
#end
{{/velocity}}</textarea>
</div>

    <div class="clearfloats"></div>
  </div>    </div>      </div>
  </div>
<div class="clearfloats"></div>
  </div></div><div id="footerglobal" class="layoutsection">
<div class="minwidth"></div>
<hr/>
  <div id="xwikilicence">(c) 2026,  by bytebang e.U. - <a href="http://www.bytebang.at/About+us/Impressum">Impressum</a> - <a href="http://www.bytebang.at/About+us/PrivacyAndTermsOfUsage">Datenschutz / Nutzungsbedingungen</a></div>
          <div id="xwikiplatformversion">-</div>
<hr/>
</div>

</div></div></body>
</html>


