Hello!

First of all which version is your project based on? If < 1.4 think
about an upgrade and maybe switch to Doctrine as well. I also started
with propel but no way...

So you wanna have checkboxes or not?
Maybe you could give me a small draft (picture) of it.

BR

On 17 Sep., 20:15, Gerda Graciela Rodrigues <gerd...@gmail.com> wrote:
> Hi....
> Thanks!
>
> but...... not to solve it ...
>
> will be used checkbox
>
> must read:
>
> Computers
> ( ) PHP ( ) Symfony ( ) Postgree
> Mathematics
> ( ) Statistics ( ) Probability
>
> this reading:
>
> ( ) PHP
> ( ) Symfony
> ( ) Postgree
> ( ) Statistics
> ( ) Probability
>
> computer where this table QualificacaoInteresseArea
> php and this table QualificacaoInteresse
>
> Look my code.
> --------- code ------------------------
>
>   public function configure()
>   {
>    $this->setWidgets(array(
>       'id'                        => new sfWidgetFormInputHidden(),
>       'curriculo_id'              => new sfWidgetFormInputHidden(),
>       'qualificacao_interesse_id' => new
> sfWidgetFormPropelChoice(array('model' => 'QualificacaoInteresse',
> 'add_empty' => false, 'expanded' => true, 'multiple' => true)),
>       'created_at'                => new sfWidgetFormInputHidden(),
>       'updated_at'                => new sfWidgetFormInputHidden(),
>     ));
>
>    $this->widgetSchema->setLabels(array(
>     'qualificacao_interesse_id'                 => 'Qualificações &
> Interesses:',
>      ));
>
>     $this->setValidators(array(
>       'id'                        => new
> sfValidatorPropelChoice(array('model' => 'QualificacaoInteresseCv', 'column'
> => 'id', 'required' => false)),
>       'curriculo_id'              => new
> sfValidatorPropelChoice(array('model' => 'Curriculo', 'column' => 'id')),
>       'qualificacao_interesse_id' => new
> sfValidatorPropelChoice(array('model' => 'QualificacaoInteresse', 'column'
> => 'id', 'multiple' => true)),
>       'created_at'                => new
> sfValidatorDateTime(array('required' => false)),
>       'updated_at'                => new
> sfValidatorDateTime(array('required' => false)),
>     ));
> ---------------------------------------------------------------------------------------------------------------------
>
> 2010/9/17 ScherlOMatic <stefan.scherbich...@gmail.com>
>
> > Hello!
>
> > You are using the wrong widget. Take a look at the 'select' widgets.
>
> > One possibility would be:
>
> > $this->setWidgets(array(
> >        'name' => new sfWidgetFormSelect(array(
> >            'choices' => self::$choices,
> >            'multiple' => true,
> >        ))
> >    ));
>
> > And please try to post code which is running, because of spaces and
> > case-sensitive words.
>
> > BR
>
> > On 16 Sep., 16:49, Gerda Graciela <gerd...@gmail.com> wrote:
> > > Hi!!!
>
> > > I have two tables: Qualification and Eligibility Category.
> > > I want to do it as Cookbook where 'Europe' and 'America' are on the
> > > table Qualification Category. 'France' => 'France', 'Spain' =>
> > > 'Spain', 'Italy' => 'Italy' are on the table qualification.
>
> > > Can anyone help me?
>
> > > ------------------------------
> > > $ Choices = array (
> > >   'Europe' => array ('France' => 'France', 'Spain' => 'Spain', 'Italy'
> > > => 'Italy'),
> > >   'America' => array ('USA' => 'USA', 'Canada' => 'Canada', 'Brazil'
> > > => 'Brazil')
> > > );
>
> > > $ W = new sfWidgetFormChoice (array (
> > >   'Choices' => $ choices,
> > >   'Multiple' => true,
> > >   'Expanded' => true,
> > >   'Renderer_options' => array ('template' => 'group <strong>%% </
> > > strong>% options%')
> > > ));
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to