/**
  * @return string
  * @throws NotSupportedException
  */
 protected function renderValueContent()
 {
     $params = array('inputPrefix' => $this->inputPrefixData);
     $valueElementType = $this->model->getValueElementType();
     if ($valueElementType != null) {
         $valueElementClassName = $valueElementType . 'Element';
         $valueElement = new $valueElementClassName($this->model, 'value', $this->form, $params);
         if ($valueElement instanceof NameIdElement) {
             $valueElement->setIdAttributeId('value');
             $valueElement->setNameAttributeName('stringifiedModelForValue');
         }
         if ($valueElement instanceof MixedDropDownTypesForWorkflowActionAttributeElement) {
             $valueElement->editableTemplate = '<div class="value-data">{content}{error}</div>';
         } elseif ($valueElement instanceof MixedDateTypesForWorkflowActionAttributeElement || $valueElement instanceof MixedDateTimeTypesForWorkflowActionAttributeElement) {
             $valueElement->editableTemplate = '<div class="value-data has-date-inputs">{content}{error}</div>';
         } else {
             $startingDivStyleFirstValue = null;
             if ($this->model->type == WorkflowActionAttributeForm::TYPE_STATIC_NULL) {
                 $startingDivStyleFirstValue = "display:none;";
                 $valueElement->params['disabled'] = 'disabled';
             }
             $valueElement->editableTemplate = '<div class="value-data"><div class="first-value-area" style="' . $startingDivStyleFirstValue . '">{content}{error}</div></div>';
         }
         return $valueElement->render();
     }
 }