[symfony-users] sfWidgetFormSelectDoubleList always required

2011-05-13 Thread filip11
Hi, I am trying to use sfWidgetFormSelectDoubleList but always having required error altough I am picking some rows. I am doing like this: $choices = $this->prepareMailingList(); $widget = new sfWidgetFormChoice(array( 'expanded' => true, 'multiple' => true,

[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

Re: [symfony-users] sfWidgetFormSelectDoubleList order of items?

2010-04-14 Thread Tom Haskins-Vaughan
How do you see this working from a user's point of view? What order is supposed to be recorded? I mean how do you anticipate telling the form the correct order? Would it not be better to do the songs for one gig at a time and just click to add a song in the order which you want to store them. You c

Re: [symfony-users] sfWidgetFormSelectDoubleList order of items?

2010-04-12 Thread Robert Heim
any hints or tipps? :-/ Am 09.04.2010 14:45, schrieb comb: Hi I have a many-To-many (Gig-Song) relation and want to use sfWidgetFormSelectDoubleList. It work's fine, but I want to save the order of assignments, too (and not only associated /unassociated ). schema.yml: # many-To-many-relation

[symfony-users] sfWidgetFormSelectDoubleList order of items?

2010-04-09 Thread comb
Hi I have a many-To-many (Gig-Song) relation and want to use sfWidgetFormSelectDoubleList. It work's fine, but I want to save the order of assignments, too (and not only associated /unassociated ). schema.yml: # many-To-many-relation ... GigSong: columns: order_id: { type: integer, notnull

[symfony-users] sfWidgetFormSelectDoubleList question

2009-06-05 Thread jp
Hi all, I (still) use Symfony 1.0 and I use the form classes from the 1.1 branch in it. Now 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 '

[symfony-users] sfWidgetFormSelectDoubleList and ajax

2009-03-09 Thread maestro
Greetings all, I'd appreciate some help on the following. I have a problem using sfWidgetFormSelectDoubleList from the sfFormExtraPlugin plugin on a form that uses jq_submit_to_remote. sfWidgetFormSelectDoubleList uses a javascript, that hooks on the submit event, that select the items in the "as

[symfony-users] sfWidgetFormSelectDoubleList problem.

2009-03-03 Thread Meher
Hello, I'm trying to use your : sfWidgetFormSelectDoubleList from the sfFormExtraPlugin... I downloaded the plugin manually .. and copied the folder in the plugins folder in my project .. it seems to be working ... i can initialize the plugin by filling the choices array my two questions are :