You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I want to submit the "answer-form" via ajax. So far, so easy. There are several problems in that implementation:
If I want to store the answers, I have to call the persistenceManager->persistAll(), because there ist no $this->redirect (wich does the persist action itself). So the data is never stored.
I have to "return json_encode('success')" or something like that. ATM I only get the rendered answer-view.
Is it planed to do such an implementation of ajax handling, or do I have to patch the controller and so on by myself?
The text was updated successfully, but these errors were encountered:
Hi
I want to submit the "answer-form" via ajax. So far, so easy. There are several problems in that implementation:
If I want to store the answers, I have to call the persistenceManager->persistAll(), because there ist no $this->redirect (wich does the persist action itself). So the data is never stored.
I have to "return json_encode('success')" or something like that. ATM I only get the rendered answer-view.
Is it planed to do such an implementation of ajax handling, or do I have to patch the controller and so on by myself?
The text was updated successfully, but these errors were encountered: