Hi everybody.

I would like to simulate a POST action with an AJAX call (say,
'link_to_remote' Symfony helper).
I know I must pass the "method" => "post" paramater to Symfony's
helper array, but it does not work.
In fact, my form validation fails, so I guess that it is treated as
POST, but that values are not passed.
In Symfony 1.2, form values are passed as array like formname
[field]...
How could I simulate this with the URL I use with link_to_remote ?

Context :
I have a form that submits itself via AJAX, and load result in
appropriate div.
But once the form is submited once, the result must automatically
refresh every n seconds.
I use periodically_remote_call to do this, but I don't know where and
how passing form values, knowing that I don't have access to the form
display anymore, but that I have the previously submited values in
vars.

Many thanks in advance for this tricky one.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to