mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

View state still disappear with Ajax on JSF 2.3.5 (spec 790)

Open prince-jn opened this issue 6 years ago • 0 comments

Based on https://arjan-tijms.omnifaces.org/p/jsf-23.html "Updating multiple forms via AJAX", it should be possible to update multiple form at the same time.

It only work if you specify the form on the render attribute (f:ajax). If I add the form on the server side, the form doesn't get the new view state.

FacesContext.getCurrentInstance().getPartialViewContext().getRenderIds().add("form");

I cannot add dynamically a new form to render on the server side which is not optimal.

prince-jn avatar Jul 15 '18 18:07 prince-jn