>
> The only thing I can think of is that this part resolves to true when
> PARENT_ID is passed as a parameter:
>
>
> if($this->getDisplayGroup('hiddenFields')) {
> $this->getDisplayGroup('hiddenFields')->addElement($oHidden);
>
> Without seeing more of your implementation I can¹t verify that.
>
Yes, with PARENT_ID it becomes true, because the displayGroup was created
with the ID element, so the PARENT_ID only will be added to the now existing
displayGroup.
Hmm, there is no other code in the implementation
thanks
Axel
--
View this message in context: http://www.nabble.com/Zend_Form_Element-will-be-created-twice-tp18838277p18838798.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论