ZF-8055: Bug when using ZendX_JQuery_Form_Decorator_DialogContainer


  1. When using the ZendX_JQuery_Form_Decorator_DialogContainer, the content is not rendered. It seems that this is because the dialogContainer method has different syntax in comparison to accordionContainer and tabContainer. \ \ {quote} {{public function dialogContainer($id, {color:red}$content{color} , $params=array(), $attribs=array())}}

{{public function accordionContainer($id=null, array $params=array(), array $attribs=array())}} {{public function tabContainer($id=null, $params=array(), $attribs=array())}} {quote} \

The dialogContainer syntax does not correspond to what is used inside the ZendX_JQuery_Form_Decorator_UiWidgetContainer -> render method when rendering.

\ \ 2. In the other hand, ZendX_JQuery_Form_Decorator_UiWidgetContainer -> render contains the following instruction :

      $attribs     = array_merge($this->getAttribs(), $this->getOptions());

That causes the DIV container of the dialog to inherit of all attributes of the element (form for example)

So you can see results like that :



This is very weird.. I am going to look into it.

Both issues are fixed now in trunk, and merged back into 1.10 release branch.

Additionally i added a section to the manual about Dialog Container rendering in the Zend Form context.