public function viewMotd($eventData)
    {
        if (!\Innomatic\Core\InnomaticContainer::instance('\\Innomatic\\Core\\InnomaticContainer')->getCurrentUser()->hasPermission('edit_motd')) {
            return $this->viewDefault();
        }
        $domain = new \Innomatic\Domain\Domain(\Innomatic\Core\InnomaticContainer::instance('\\Innomatic\\Core\\InnomaticContainer')->getDataAccess(), \Innomatic\Core\InnomaticContainer::instance('\\Innomatic\\Core\\InnomaticContainer')->getCurrentDomain()->getDomainId(), \Innomatic\Core\InnomaticContainer::instance('\\Innomatic\\Core\\InnomaticContainer')->getCurrentDomain()->getDataAccess());
        $xmlDef = '<vertgroup><name>motd</name>
          <children>

            <form><name>motd</name>
              <args>
                <method>post</method>
                <action type="encoded">' . urlencode(WuiEventsCall::buildEventsCallString('', array(array('view', 'motd', ''), array('action', 'setmotd', '')))) . '</action>
              </args>
              <children>

                <grid><name>motd</name>

                  <children>

                    <label row="0" col="0" halign="" valign="top"><name>label</name>
                      <args>
                        <label type="encoded">' . urlencode($this->localeCatalog->getStr('motd.label')) . '</label>
                      </args>
                    </label>

                    <text row="0" col="1"><name>motd</name>
                      <args>
                        <rows>10</rows>
                        <cols>80</cols>
                        <disp>action</disp>
                        <value type="encoded">' . urlencode($domain->getMotd()) . '</value>
                      </args>
                    </text>

                  </children>

                </grid>

              </children>
            </form>

            <horizbar><name>hb</name></horizbar>

            <button>
              <name>apply</name>
              <args>
                <horiz>true</horiz>
                <frame>false</frame>
                <themeimage>buttonok</themeimage>
                <label type="encoded">' . urlencode($this->localeCatalog->getStr('set_motd.submit')) . '</label>
                <formsubmit>motd</formsubmit>
                <action type="encoded">' . urlencode(WuiEventsCall::buildEventsCallString('', array(array('view', 'motd', ''), array('action', 'setmotd', '')))) . '</action>
              </args>
            </button>

          </children>
        </vertgroup>';
        $this->wuiMainframe->addChild(new WuiXml('page', array('definition' => $xmlDef)));
        $this->wuiTitlebar->mTitle .= ' - ' . $this->localeCatalog->getStr('motd.title');
    }