Hi,

I am trying to understand the FormElementManager. From the name of it I
first thought, that it is used to define all available form elements
(standard ZF2 form elements and custom form elements). So I added my
custom form element and tried to use it without success. I think the
configuration is correctly and I am also using getFormFactory() within
my forms init() method to create an element of my custom form element.
It looked like the same concept such as the InputFilterManager and
HydratorManager. But it didn't work.

So, I googled and found the docs (which I did not look in at the first
place).

http://zf2.readthedocs.org/en/latest/modules/zend.form.advanced-use-of-forms.html

When you search for the phrase "The second catch" you find the right
position. From that example I got the impression that the
FormElementManager is not just for all available form elements but also
for my concrete forms and fieldsets.

Is that the correct purpose of the FormElementManager? If so, I would
also need to configure my forms for the FormElementManager, right?
Currently there are just configured for the "normal" Service-Manager.

Thanks and best regards,

Ralf

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to