I got around this issue by doing a very ugly temp hack with the
javascript function web2py_ajax_page

The hack basically allows the response to use .after(), so that it
gets inserted after the target, and not replace the target. If such
functionality is required, I could attempt to write a batch with my
basic skills next mid week.

On Nov 6, 11:06 pm, mdipierro <[email protected]> wrote:
> Not with the current comments widget. We would have to rewrite it t
> prevent reloading of comments.
>
> On Nov 6, 6:13 am, Luther Goh Lu Feng <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have a component that lists comments. The component is reloaded at
> > fix intervals, and when the end user creates a new comment.
>
> > I have made it possible for the user to embed youtube videos. The
> > problem is: when the comments component is reloaded, the entire video
> > gets refreshed as well. I would like to know if there is some easy way
> > to update the comments component with only the new comments, without
> > reloading the entire component.
>
> > Otherwise, I am ready to write more code to selectively insert comment
> > updates without reloading the whole component.

Reply via email to