Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.1
-
Component/s: ZendX_JQuery
-
Labels:None
Description
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.
{{public function dialogContainer($id, $content , $params=array(), $attribs=array())}}
public function accordionContainer($id=null, array $params=array(), array $attribs=array())
public function tabContainer($id=null, $params=array(), $attribs=array())
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 :
<div id="dialog-container" method="post" action="..."> ... </div>
This is very weird.. I am going to look into it.