public function doRender($row = null) { $name = $this->value; if (!is_null($row)) { $dtComp = $this->getFirstAncestorOfType("DataSeries"); $dtVar = $dtComp->getVar(); $dtValue = BeanUtil::getBeanString($dtComp->getValue()) . "({$row})"; $name = str_replace($dtVar, $dtValue, $this->value); } $val = $this->getConvertedValue($this->value, $row); $type = $this->getType(); $focus = $this->autoFocus === "true" ? " autoFocus=\"true\"" : ""; return "<input class=\"" . $this->class . "\" id=\"" . $this->id . "\" maxlength=\"" . $this->maxLength . "\" type=\"{$type}\" name=\"{$name}\" value=\"{$val}\"{$focus}/>"; }