So, the other day, I was playing with Twitter Bootstrap on a JSF application. Everything was fine until I decide to use a
render="@all" somewhere in the page in order to refresh all my components after quite an heavy operation. Working fine.
render="@all" was called, they disappear again.
<body> when the HTML DOM is ready. Its doing so in order to catch all user interactions when they bubble up to the
<body> tag which wrap the whole page. With that, you can use Ajax as much as you want and update your DOM since there is no event attach to a particular HTML tag, they are all in the
render="@all" will render your
Just wrapping your whole page in a JSF panel and render it instead of
render="@all" should be enough in most use case. It is not exactly the same behaviour, but in most case, when calling
render="@all", what you really want is just refreshing your whole page using Ajax. For example:
And replace all your