You could put the include_component() in de Success template of the action
that handles the ajax request.

>
> Dear Developers,
>
> I'm expieriencing a problem I cannot solve. Please, help!
>
> I have a dynamic page with an accordion in it so that users can switch
> between several data forms.
> I want those forms to submit using AJAX. So far so good, but I cannot
> figure out the correct architecure for this part.
>
> I want to use a component for each form in my accordion, but when I
> the form is submitted, I cannot redirect back from the action to my
> component and refresh the form.
>
> Where did I go wrong? Is it correct that components submits data to an
> ordinary action? How do I get back to my component?
>
> Thank you in advance!
> >
>


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

Reply via email to