I also ran into this problem. I solved it by defining the fields in the form
class (DocumentsForm in your case).
For the fields I didn't wanted to display, I applied the widget InputHidden.
I'm interested also if there's a better way, this one is not really clean.
Le 7 sept. 2010 à 18:44, John K
nction dispatch()
\n
{
\n
$this->getController()->dispatch();
\n
}
\n
\n
/**
" - "at sfContext->dispatch()
in SF_ROOT_DIR/web/backend_dev.php line 13 ...
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
\n
\n
$configuration = Pr