Hi,

I have a many-to-many relationship (User-UserGroup-Group). When I
generate the User form class I find a field called "user_group_list"
that is is showed in a module based on User model.

As I read here below, it is possible to set the value of a field
before saving the form:

http://groups.google.com/group/symfony-users/browse_thread/thread/390b0efff76c74da

So I created this function:

updateUserGroupList(){
  return array(1,2)
}

but when I submit the form it doesn't create a UserGroup row...

The "user_group_list" has two elements with the values 1 and 2 that i
created in the fixtures file. I put inside that function a
die("entro") and "entro" is showed.

Any idea?

sf 1.4/propel 1.6

Javi

-- 
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