Re: [symfony-users] Re: Question about an AJAX link and the dev and prod enviroments

2010-03-16 Thread Tom Haskins-Vaughan
> What if client has javascript disabled?

Then you should create a normal link first

  ">Next

And then use javascript to change it if it is available.

On Tue, Mar 16, 2010 at 9:06 AM, Massimiliano Arione  wrote:
> What if client has javascript disabled?
>
> On 15 Mar, 18:38, Javier Garcia  wrote:
>> Ok, this is the solution:
>>
>>                 ')">next
>>
>> Javi
>>
>> On Mar 15, 5:59 pm, Javier Garcia  wrote:
>>
>> > Hi,
>>
>> > i have this line below that shows a link to go the next page of a list.
>>
>> > Next page
>>
>> > 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
>

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


[symfony-users] Re: Question about an AJAX link and the dev and prod enviroments

2010-03-16 Thread Massimiliano Arione
What if client has javascript disabled?

On 15 Mar, 18:38, Javier Garcia  wrote:
> Ok, this is the solution:
>
>                 ')">next
>
> Javi
>
> On Mar 15, 5:59 pm, Javier Garcia  wrote:
>
> > Hi,
>
> > i have this line below that shows a link to go the next page of a list.
>
> > Next page
>
> > 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


[symfony-users] Re: Question about an AJAX link and the dev and prod enviroments

2010-03-15 Thread Javier Garcia
Ok, this is the solution:

')">next


Javi



On Mar 15, 5:59 pm, Javier Garcia  wrote:
> Hi,
>
> i have this line below that shows a link to go the next page of a list.
>
> Next page
>
> 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