On 21 Apr 2009, at 23:40, blake <blakebis...@gmail.com> wrote:

>
> All,
>
> I am trying to create a FAQ browser that is embedded at the bottom of
> multiple pages of my site.  The browser has a "next FAQ" and "previous
> FAQ" that needs to refresh the FAQ content without refreshing the page
> - in other words, an AJAX refresh.
>
> How do I go about doing this in symfony?  I tried creating a component
> and placing it in the layout but when the user clicks the "Next FAQ"
> link, it of course wants to execute an action, not a component.  Can I
> embed two actions on one page?
>

Hi Blake, see
My other email off list for more details, but the function you need to  
google for is link_to_remote.

It does exactly what you need.

Hth

Derek.


> Much appreciated,
> blake
>
> >

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

Reply via email to