This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » Issue with extended Form class and Doctrine getObject
Issue with extended Form class and Doctrine getObject [message #103055] Sun, 25 July 2010 17:29
omoratin  is currently offline omoratin
Messages: 144
Registered: December 2005
Senior Member

I have a custom form that extends a base Doctrine model form.
When I bind request params to the form and then try to get the object out of it using getObject(), the properties of the object are empty. What am I doing wrong?

$this->billingAddressForm = new BillingAddressForm();

class BillingAddressForm extends AddressForm
	public function configure()
  	        $decorator = new FormDecorator($this->getWidgetSchema());
  	        $this->getWidgetSchema()->addFormFormatter('custom', $decorator);

[Updated on: Sun, 25 July 2010 17:29]

Previous Topic:Propel error 10038 Attempt to initiate a new SQL Server operation with results pending
Next Topic:Doctrine_query problem
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software