Changeset 2103
- Timestamp:
- 09/28/07 15:26:18 (16 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/src/filter/AgaviFormPopulationFilter.class.php
r2102 r2103 445 445 // %s is the placeholder in the HTML for the error message 446 446 $containerElement = $doc->createDocumentFragment(); 447 $containerElement->appendXML(AgaviToolkit::expandVariables($errorContainer, array('errorMessages' => implode("\n", $errorStrings)))); 447 $containerElement->appendXML( 448 AgaviToolkit::expandVariables( 449 $errorContainer, 450 array( 451 'elementId' => $element->getAttribute('id'), 452 'elementName' => $element->getAttribute('name'), 453 'errorMessages' => implode("\n", $errorStrings), 454 ) 455 ) 456 ); 448 457 } elseif(is_callable($errorContainer)) { 449 458 // it's a callback we can use to get a DOMElement

