A new API has been added to BaseCoreRenderer:
+ public void writeExternalScript(IMobiComponent component, IResponseWriter writer, String url, boolean required)
The required attribute indicates whether the script within the span is required or not; if not required, only the span is rendered. This allows components to add their JavaScript to the page as necessary and have it removed in subsequent updates without causing a large DOM diff. This was added to prevent TabSet from causing a large DOM diff on the carousel page. There may be a variety of other components that need a similar change.
thought could have been introduced with work done on
MOBI-637, but when this was backed out to code from 12/11/25 (rev 32370) as only carousel.js and CarouselRenderer had minor changes fromMOBI-637, the problem still exists. Could problem stem from mojarra 2.1.21 or icefaces 3.3 or container? Problems getting js logging statements to console on devices available for android.