ZF-8055: Bug when using ZendX_JQuery_Form_Decorator_DialogContainer

Issue Type: Bug Created: 2009-10-12T10:22:53.000+0000 Last Updated: 2010-01-29T02:37:31.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Itanjaka Mandresi (mandresi) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:


  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 :

<pre class="literal">
      $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 :

<pre class="highlight">



Posted by Benjamin Eberlei (beberlei) on 2009-12-16T14:18:38.000+0000

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

Posted by Benjamin Eberlei (beberlei) on 2010-01-29T02:37:30.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.