Re: Rendering non-ajax view after calling action with ajax call

2006-12-24 Thread igor
That's not what I was looking for, but thanks anyway... Guess my language is not quite good in explaining.. :) Anyway, I solved what I wanted... I wanted to submit this form to a new page. But I had some other AJAX calls in the same form that updates this form (I am transfering some serialized d

RE: Rendering non-ajax view after calling action with ajax call

2006-12-24 Thread Mariano Iglesias
ct('/newurl'); } } -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegr

Re: Rendering non-ajax view after calling action with ajax call

2006-12-24 Thread igor
Thanks for answer, but I wasn't asking for that. I used Ajax.Updater before and what You have described I already used. I will try to explain differently: If I call my action like usual (ie. non-ajax): http://myserver/mycontroller/myaction/ I get "normal" response. OK? I want to have that norm

RE: Rendering non-ajax view after calling action with ajax call

2006-12-24 Thread Mariano Iglesias
But you are just asking for a normal AJAX update, why are you trying to do it by yourslef? DRY baby ;) Try this: index.thtml: div('updateableDiv'); ?> ... submit(' Publish selected ', array( 'update' => 'updateableDiv', 'id' => "p