Hello,

There is a closed ticket : http://trac.symfony-project.org/ticket/6427
and this code :
http://trac.symfony-project.org/browser/branches/1.3/lib/test/sfTesterForm.class.php#L48

I am concerned by this issue as I use a filtering object which extends
sfForm, so in one action I can have 2 sfForms bound. So the only
solution I have for now is to define the form before the filtering
object.

I think the sfFormTester should overwrite the begin() method with an
optional form name

$browser->with('form')->begin('the_name_of_the_form')->hasErrors()....

maybe it is not too late for sf1.3 ;)

-- 
Thomas Rabaix
http://rabaix.net

--

You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=.


Reply via email to