@action("<STR_LIT>")<EOL><INDENT>def populate_obj(self, obj=None, form=None):<DEDENT>
if not form:<EOL><INDENT>form = current_context.data.form<EOL><DEDENT>if obj is None:<EOL><INDENT>obj = AttrDict()<EOL><DEDENT>form.populate_obj(obj)<EOL>return obj<EOL>
Populates an object with the form's data