This is a livechat web app, I need to "refresh" when sending a message, poll works well when using now() outside the foreach (to comprobate that works), but inside the foreach the content and now() does nothing!! I need to refresh the browser to see the changes (the new message) and I dont know how to fix it...

I tried all in web tutorials and replicate it to, nothing works for me.
$this->render()in yoursave()method. Can you post the component code so someone can better assist you?