public function transformContent()
 {
     $form = $this->getForm('add');
     if ($form->isSent() && $form->isValid()) {
         $proxyName = $form->getFormElementByName('proxytypename');
         $proxyType = new UmgtVisibilityDefinitionType();
         $proxyType->setAppObjectName($proxyName->getAttribute('value'));
         $uM = $this->getManager();
         try {
             $uM->saveVisibilityDefinitionType($proxyType);
             $this->getResponse()->forward($this->generateLink(['mainview' => 'proxy', 'proxyview' => 'typelist']));
         } catch (DatabaseHandlerException $dhe) {
             // mark field as invalid due to the fact, that we have a form error, it is also displayed!
             $proxyName->markAsInvalid();
             $proxyName->appendCssClass(AbstractFormValidator::$DEFAULT_MARKER_CLASS);
         }
     }
     $form->transformOnPlace();
 }