[symfony-users] Re: sfWidgetFormDoctrineJQueryAutocompleter problem

2011-03-11 Thread emanu.ti
You can try modify the function render on sfWidgetFormJQueryAutocompleter.class.php I haved this problem and solve with this code. public function render($name, $value = null, $attributes = array(), $errors = array()) { // put this code. $name = $name . '[text]'; I hope it was usefull.

[symfony-users] sfWidgetFormChoice

2010-12-29 Thread emanu.ti
Hi, I want to use sfWidgetFormChoice with "multiple" => true parameter. Here is my code: 'leavewhenempty' => new sfWidgetFormChoice( array('multiple' => true, 'expanded' => true, 'choices' => Doctrine_Core::getTable('FilaDeAtendimento')- >getOptionsLeaveWhenEmpty())

[symfony-users] sfWidgetFormSelectDoubleList

2010-11-27 Thread emanu.ti
Hi all, I use Symfony 1.4 I want to configure a select double list using sfWidgetFormSelectDoubleList. My question: - How can a configure the ASSOCIATED items? To the widget's constructor I give the "possible options" via 'choices' option, ok. But what about the selected defaults? I figured out