/**
  * Creates a container for repeated instances of the same DataEditControl type.
  *
  * @param object $o_factory_object
  * @param string $s_factory_method
  */
 public function __construct($o_factory_object, $s_factory_method)
 {
     parent::__construct();
     if (!is_object($o_factory_object) or !method_exists($o_factory_object, $s_factory_method)) {
         throw new Exception('Could not find factory method for edit control');
     }
     $this->o_factory_object = $o_factory_object;
     $this->s_factory_method = $s_factory_method;
     parent::SetShowValidationErrors(false);
     # Set to false to prevent base validtion summary from showing
     $this->SetStreamContent(true);
     if ($_SERVER['REQUEST_METHOD'] == 'POST') {
         $this->BuildPostedDataObjects();
     }
 }