About point 2, now I see: )->addElement( 'selectMenu', 'fuel2', array( 'label' => 'Gorivo:', 'multioptions' => $fuel->fetchAllOptions(), 'JQueryParams' => array('width' => 200) )
logical :) Regards, Saša Stamenković On Thu, Dec 3, 2009 at 8:15 AM, umpirsky <umpir...@gmail.com> wrote: > > Hi. > > I started using ZendX_JQuery_Form, and noted few things: > > 1. Replacing ViewHelper with UiWidgetElement produces Zend_Form_Element* > not > to render correctly. Then I added ugly patch in > ZendX_JQuery_Form_Decorator_UiWidgetElement in render method > (http://pastie.org/725073 line #13). > I don't see why ZendX_JQuery_Form_Decorator_UiWidgetElement calls > $elementContent = $view->$helper($name, $value, $jQueryParams, $attribs); > instead > $elementContent = $view->$helper($name, $value, $attribs, > $element->options); > in this case it can have jQuery options in attribs use it and then just > unset it - and we have a compatibility with Zend_Form_Element_*. Which is a > must, since jQuery UI don't have all element replacements(input, checkbox, > radio...) > > 2. Is there a support for factory methods - ZendX_Jquery_Form::addElement() > ? How do we add elements to ZendX_Jquery_Form? > > 3. I use > > http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/ > and > > http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/ > on my site, have already implemented selectmenu (http://pastie.org/725079) > it would be nice if someone can review. > > 4. I have sent my signed CLA a week ago via email, still no response. Maybe > I can contribute if there is someone from ZendX_JQuery authors to discuss. > > Regards, > Saša Stamenković. > -- > View this message in context: > http://n4.nabble.com/ZendX-JQuery-Form-discussion-tp947406p947406.html > Sent from the Zend Framework mailing list archive at Nabble.com. >