code: @Override
  	public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
  		if (FacesContext.getCurrentInstance().isPostback()) {
  			ResponseWriter writer = context.getResponseWriter();
  			writer.writeText("\n", null);
  			writer.startElement("script", component);
  			writer.write("if (window.jsfScope) {\n");
  			List<String> beansAsJSon = PuiModelSync.getFacesModel();
  			for (String bean : beansAsJSon) {
  				writer.write("puiUpdateModel(" + bean + ");");
  			}
  			writer.writeText("\n}", null);
  			writer.endElement("script");
  		}
  	}
docs: private static final Logger LOGGER = Logger.getLogger("de.beyondjava.angularFaces.components.puiupdateModelAfterAJAXRequest.puiUpdateModelAfterAJAXRequestRenderer");