After upgrading from ZTal 1.0.0 where everything worked fine to ZTal 1.1.0 I'm getting the following error trying to set up und run the ZTal example project :
PHPTAL Exception
Method isRequired does not exist
In /Applications/MAMP/bin/php5/lib/php/Zend/Form/DisplayGroup.php line 1029
I'm using Zend Framework 1.11.5 and PHPTal 1.2.2
All files are in the right place. The PHPTal Cache is purged with every script execution. Manual emptying of the cache made no difference.
After chatting with farblue in the #ztal IRC channel he could offer me a tweak for the time being:
Replace line 115 in Macros/ztal/form.xhtml: requiredClass Ztal_Tales_Generic.isTrue:element/isRequired,string:required-element | string:optional-element;"
With: requiredClass string:optional-element;"
After upgrading from ZTal 1.0.0 where everything worked fine to ZTal 1.1.0 I'm getting the following error trying to set up und run the ZTal example project :
PHPTAL Exception
Method isRequired does not exist
In /Applications/MAMP/bin/php5/lib/php/Zend/Form/DisplayGroup.php line 1029
0 /Applications/MAMP/bin/php5/lib/php/PHPTAL/Context.php(397): Zend_Form_DisplayGroup->__call('isRequired', Array)
1 /Applications/MAMP/bin/php5/lib/php/PHPTAL.php(845) : eval()'d code(748): PHPTAL_Context::path(Object(Zend_Form_DisplayGroup), 'isRequired')
2 /Applications/MAMP/bin/php5/lib/php/PHPTAL.php(792): tpl_4dc9310d_form__bI1jLV0isvrh6zg8d_o6cA_fields(Object(PHPTAL), Object(PHPTAL))
3 /Applications/MAMP/bin/php5/lib/php/PHPTAL.php(845) : eval()'d code(1007): PHPTAL->_executeMacroOfTemplate('fields', Object(PHPTAL))
4 /Applications/MAMP/bin/php5/lib/php/PHPTAL.php(784): tpl_4dc9310d_form__bI1jLV0isvrh6zg8d_o6cA_talForm(Object(PHPTAL), Object(PHPTAL))
5 /Users/pworx/Sites/ztaltest/tal/cache/tpl_4db802ff_index__O9BiAiYFjzxtMz145ir5AA.php(29): PHPTAL->_executeMacroOfTemplate('ztal/form.xhtml...', Object(PHPTAL))
......
I'm using Zend Framework 1.11.5 and PHPTal 1.2.2 All files are in the right place. The PHPTal Cache is purged with every script execution. Manual emptying of the cache made no difference.
After chatting with farblue in the #ztal IRC channel he could offer me a tweak for the time being: Replace line 115 in Macros/ztal/form.xhtml: requiredClass Ztal_Tales_Generic.isTrue:element/isRequired,string:required-element | string:optional-element;" With: requiredClass string:optional-element;"