When I put more than one renderPartial into actionUpdateAjax() the content on the website only gets updated when the last renderPartial is called. Why is this happening? Can this somehow be avoided so each renderPartial updates the content immediately?
It depends on how you write the ajax function in the view.
When you have called renderPartial(“A”) and renderPartial(“B”) in the controller (server side), then contents “A” + “B” will be received in the view of the user’s browser (client side). But all the received contents may not be used to update the screen. I depends on how you have written the ajax script.
Exactly, that’s what I want to achieve. But there must be a way to continously send messages to a div without using a call for each message? Or maybe I missunderstood your answer?
Thanks for the hints, bennouna. I played around a little bit with SSE, but had some problems as it was always reloading the script… I now solved my information needs with plain old logging.