Ok, this is the solution:

                <a href="#" onclick="new Ajax.Updater('lista_miembros', '<?php 
echo
url_for("miembros/filtrar?page=2"); ?>')">next</a>


Javi



On Mar 15, 5:59 pm, Javier Garcia <tirengar...@gmail.com> wrote:
> Hi,
>
> i have this line below that shows a link to go the next page of a list.
>
> <a href="#" onclick="new Ajax.Updater('lista_miembros',
> '/frontend_dev.php/miembros/filtrar?page=2')">Next page</a>
>
> The problem: as expected, it only works in the development enviroment of
> the frontend (frontend_dev.php).
>
> My question: what should i to get it work on both enviroments
> (production and development)? Using if's and getting the environment
> being used is the only way, or is there any cooler way?
>
> Javi

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

Reply via email to