Guilherme Santos

Results 16 comments of Guilherme Santos

That's true, so the bug is here: https://github.com/neilime/zf2-twb-bundle/blob/master/config/module.config.php#L71 https://github.com/neilime/zf2-twb-bundle/blob/master/config/module.config.php#L89

No, I don't talk about `TwbBundle\Form\Element\StaticElement`, I'm talking about `TwbBundle\Form\Element\TwbBundleFormElement` I need to add new element for example Test\Form\Element\MyElement I should inherit from `Zend\Form\Element` for example... and I need to...

I'm sorry, and yes I'm talking about `TwbBundle\Form\View\Helper\TwbBundleFormElement` The problem is... For my new element I need a new FormViewHelper to render it, but I don't know when and how...

Let's try again... I need to add an element called `Test\Form\Element\MyElement` And I need also add its view helper `Test\Form\View\Helper\MyElement` The problem is... How can I call view helper automatically?...

Sure, I ask why i would like to avoid duplicate all this logic, but It's ok, It was I image! Thanks ;)

It doesn't work... Because when you call `parent::render()` parent is `TwbBundle\Form\View\Helper\TwbBundleFormElement` and everything is render twice, add-ons for example...

It works for me.. what do you think? https://gist.github.com/guilherme-santos/8849298

No, I'm using like I show you in gist...