You need to embed the form in to another form yourself.

$userForm = new UserForm();
$userForm->embedForm(new UserProfileForm());

echo $userForm;

- Jon

On Wed, Oct 29, 2008 at 3:54 PM, kayoone <[EMAIL PROTECTED]> wrote:

>
> embedded forms drive me mad... i dont get what you guys are mean...
> in the BasesfGuardUserForm Classes that get generates, there is
> nothing regarding an embedded form... i have my schema setup to link
> to a profile like this:
>
> UserProfile:
>  actAs: [Sluggable, Timestampable]
>  tableName: user_profile
>  columns:
>    user_id: integer
>    first_name: string(50)
>    last_name: string(50)
>    email: string(100)
>  relations:
>    User:
>      class: sfGuardUser
>      local: user_id
>      foreign: id
>      foreignType: one
>      owningSide: false
>
>
> but there is nothing with embedded forms generated and when i generate
> the crud stuff for this i can just create the sf guard user, not the
> profile
> what am i doing wrong ?
>
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to