Guys, by any REALLY weird reason, my embeded forms aren't working. Im using
it in a way that I always do:

    if(!$this->getObject()->isNew()) {


>       $requirements = $this->getObject()->getCfPostRequirements();

      foreach($requirements as $index => $requirement)

        $this->embedForm('requirement_'.$index, new
> CfPostRequirementForm($requirement));

      //--

      $requirement = new CfPostRequirement();

      $requirement->setCfPost($this->getObject());

      $requirementForm = new CfPostRequirementForm($requirement);

      $this->embedForm('new_requirement', $requirementForm);

    }


I have no idea about why it doesn't save. I've debugged sfPropelForm and it
finds all embeded forms, the weird is that it doesn't save the changes...

---
Sidney G B Ferreira
Desenvolvedor Web

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