Perfect, I just added
$this->getView()->addHelperPath('App/View/Helper', 'App_View_Helper');

to the element's init() method, and it worked fine.

Thanks!


hukkas wrote:
> 
> Hi there
> 
> Quick question;
> 
> I've written a custom form element, with an associated view helper. 
> However, it can't find the view hellper, and as far as I can tell the
> addPrefixPath method on Zend_Form_Element is used for validators,
> decorators and filters - but not view helpers.  Nor can I find an obvious
> way of telling the form where to find the view helper.  Does anyone know
> how to go about this?
> 
> TIA
> 

-- 
View this message in context: 
http://www.nabble.com/View-Helpers-in-custom-form-elements-tp21185791p21186150.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to