I dont know if im right but i think you want to do  this:

$form['embedded form']['widget']->render()

 

Gareth McCumskey escribió:
> Of course one other way of seeing what the $form object contains is 
> just doing a var_dump($form); and working back from there
>
> On Mon, Nov 9, 2009 at 4:59 PM, cosmy <[email protected] 
> <mailto:[email protected]>> wrote:
>
>
>     Yes documentation is a great thing but maybe i haven't explained well
>     the situation.
>     I don't want to access the widget of the main form but a child one.
>     My form embed several forms of the same class, so the widgets of these
>     forms have the same names, but not the forms (I numerate them while
>     embedding).
>     My question is not how to access a different widget in the template,
>     but how to access a different child form (and so of course its
>     widgets).
>     I've read the documentation but it doesn't consider this case.
>
>     I hope to have been more clear in the explanation, thank you for the
>     response.
>
>     On 9 Nov, 11:31, Gareth McCumskey <[email protected]
>     <mailto:[email protected]>> wrote:
>     > <?php echo $form['widget1']->render() ?>
>     > <?php echo $form['widget2']->render() ?>
>     >
>     > Documentation is a wonderful thing:
>     >
>     >
>     http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designer...
>
>
>
>
>
> -- 
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> >


-- 
Germana Oliveira

Movilnet:       0426 7457105
Digitel:        0412 0386159 
Correo-e:       germanaoliveirab_at_gmail.com
Blog:           http://slcarabobo.wordpress.com
Usuario Linux : #493487

Carabobo, Venezuela.


--~--~---------~--~----~------------~-------~--~----~
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