Twitter_Form (A Twitter ブートストラップ css フォーム) を拡張するフォームがあり、それが Zend_Form を拡張します。Zend_Form に ZendX_JQuery 要素を追加したいのですが、デコレータが原因でエラーが発生します
エラーは
Cannot render jQuery form element without at least one decorator implementing the 'ZendX_JQuery_Form_Decorator_UiWidgetElementMarker'
Default decorator for this marker interface is the 'ZendX_JQuery_Form_Decorator_UiWidgetElement'. Hint: The ViewHelper decorator does not render jQuery elements
フォーム クラスは次のとおりです。
class Application_Form_Classes extends Twitter_Form {
$autocomplete = new ZendX_JQuery_Form_Element_Autocomplete('demo-input-local');
$autocomplete->setJQueryParam('url','http://.../something.php');
$this->addElement($autocomplete);
$this->addElement("submit", "register", array("label" => "Register"));}