I have a JSP page where I load following scripts in the header (because I need to call some zkau methods):
In the body part I try to dynamically render zk components by calling Renders.render(...), e.g.:
Label lab = new Label("An example label.");
StringWriter sw = new StringWriter();
Renders.render(pageContext.getServletContext(), request, response, lab, null, sw);
See attached file index.jsp for the complete page.
Most of the times the page doesn't load but shows an infinite busy message (see attached screenshot). However, sometimes the page loads and the label is displayed as expected. It seems that it depends on the timing if the page loads or displays an infinite busy message. When I remove the two <script > elements, then the problem does not exist.
Tested with zkee versions 6.0.5 and 6.5.6.