3 Replies Latest reply on Oct 16, 2010 1:40 PM by Leo K

    Add element to list without rerendering container

    Balázs Németh Newbie



      I have a question for you


      Consider you have a list, for example an UL with some LI elements. Let's say they are messages or something like that. When I get a new message, what I want to do is creating a new LI element and adding it to the DOM tree, so it's displayed in the list, and everything is done by JS, AJAX requests.


      As far as I know, this cannot be done in richfaces (and jsf) without rerendering the corresponding UL element, so the holder of the whole list. But this is what I know, the question is what you know about this Maybe it can be done somehow.


      thanks for your replies,