hi Daniel, thx for the clarification. I just tried using form in a component and it works.
thx gopi On Apr 21, 9:48 pm, Daniel Lohse <annismcken...@googlemail.com> wrote: > Why wouldn't it be possible to display symfony forms from components? That > would be *i n s a n e*. A form is just an object you pass onto the view. > > Just instantiate your form class in the component via $this->form = new > YourFormClass(); and do an echo $form; in your component view. > > What did you expect from symfony – I hope not such crippled functionality! :) > > Daniel > > On 21.04.2010, at 18:44, gopi wrote: > > > > > hi.. > > > I have got two forms to be displayed on a page (both are independent > > of each other). Ex: user login, search > > > Both the forms are the output of two different "actions" > > > How do I get both the forms to be displayed on the same page? > > Component would have been better, but as far I could gather, it is not > > possible to display symfony forms from components > > > thx > > gopi > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en