preparation for entry action test

This commit is contained in:
Steffen Schröder 2014-01-23 09:40:06 +01:00
parent df202393ba
commit bb28e72f79

View File

@ -146,6 +146,9 @@ class Entry extends Control implements NewLineable, Scriptable, Styleable, TextF
*/ */
public function render(\DOMDocument $domDocument) { public function render(\DOMDocument $domDocument) {
$xmlElement = parent::render($domDocument); $xmlElement = parent::render($domDocument);
if (false) {
$xmlElement->setAttribute('action', 'TestAction');
}
if ($this->name) { if ($this->name) {
$xmlElement->setAttribute('name', $this->name); $xmlElement->setAttribute('name', $this->name);
} }