A renderer using LibraryScriptlet is getting the URL:
/trinidad-demo/adf/jsLibs/DebugApacheChart1_2_8.js
instead of:
/trinidad-demo/adf/jsLibsDebug/ApacheChart1_2_8.js

The former is what is added to the page. The latter is what is being
generated by the build. As a result, any component using
LibraryScriplet will break if JS debugging is turned on.

Anyone know why this is and if one was changed, why the other was not?

It would be hard to fix the LibraryScriplet as it would require an API change

Code snippets from LibraryScriptlet.java:

  protected String getLibraryName(
    FacesContext        context,
    RenderingContext arc)
  {
    String libraryName = _libraryName;

    if (_isDebug(context))
      libraryName = "Debug" + libraryName;

    return libraryName;
  }

  public static String getBaseLibURL()
  {
    return _JSLIBS_DIRECTORY;
  }

  static private final String _JSLIBS_DIRECTORY = "/adf/jsLibs/";

-Andrew

Reply via email to