Hi, El 05/02/2008, a las 19:11, Fran Iglesias escribió:
> This works well... the first time. > > When I create or edit an event the index updates but the links (ajax > links are created with AjaxHelper:link()) doesn't work. In fact, when > I look at the generated HTML there is no javascript code to manage the > Ajax request (the first time, there is). I think I've solved the problem. I wrote a redux with a fake controller and a pair of actions to simulate the situation. I used htmlentities to show the code generated by the AjaxHelper::link () method. If I did so, the ajax link generated in the ajax request worked ok. If no, the link simply doesn't respond. So I guessed that there was a problem with the encoding of the ajax request. I need to build the ajax link explicitly setting the 'encoding' option to 'utf-8' (in the options array that you pass to the link() method). Hope that helps others. -- Fran Iglesias [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---