I'm struggling with a very odd jsf behavior:
In a panel component (let's say PanelGrid), I need to add dynamically more components. For example, every time a user clicks on a button, I want to programatically add a new component to the panel using Ajax. Ok so far, the thing is that sometimes a component that's already been added gets replaced by the new one. Very weired stuff.
Searching the documentation I've fond this:
"Any Ajax framework should not append or delete, but only replace elements on the page" (http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/ArchitectureOverview.html)
I'm wondering if adding new components programatically using Ajax in a JSF page is really possible. Can you guys help out?
There is no difference between Ajax and non-Ajax in this case.