The widgets should be generated and not parsed in generateForm() (see #20).