[htmltmpl] work with associate - bug or not ?
Brought to you by:
samtregar
From: Sergey B. <bo...@un...> - 2007-01-18 16:27:41
|
Hi html-template-users, I found some problem I have object $associate (return by HTML::Template::Associate::FormValidator) with 'MISSING_FIELDS' => [ { 'FIELD_VALUE' => 1, 'FIELD_NAME' => 'password2' }, { 'FIELD_VALUE' => 1, 'FIELD_NAME' => 'login' }, { 'FIELD_VALUE' => 1, 'FIELD_NAME' => 'password' } ], in template <!-- TMPL_IF NAME=MISSING_FIELDS --> Some fields are missing <!-- /TMPL_IF --> load with associate => [ $q, $associate ] in logs: HTML::Template::param() : attempt to set parameter 'missing_fields' with an array ref - parameter is not a TMPL_LOOP! is it bug ? if I add <!-- TMPL_LOOP NAME=MISSING_FIELDS -->... all ok -- Sergey Borodich http://bor.org.ua |