Im trying to replace a *filter* widget:
$controller = sfContext::getInstance()->getController();
$this->widgetSchema['endereco'] = new sfWidgetFormChoice(array('choices'
=> array()));
$this->widgetSchema['endereco']->setOption('renderer_class',
'sfWidgetFormPropelJQueryAutocompleter');
$this->widgetSchema['endereco']->setOption('renderer_options', array(
'model' => 'Imovel',
'url' => $controller->genUrl('imovel/ajax'),
));
http://www.symfony-project.org/cookbook/1_2/en/make-a-choice
The problem is that it doesnt work for filters. In the edit form it works.
Does anybody knows how can i add autocomplete in the fields of the filters?
thanks
Att,
Pedro Casado
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.