Jump to content
We've recently updated our Privacy Statement, available here ×

nafiesa.allie

Members
  • Posts

    9
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by nafiesa.allie

  1. A number of references is made to the runtime_dependencies folder, but it does not exist and neither is the content that was available in Jasper Server 7.5 available in Jasper Server 8.0.0.  How do one obtain these or what is the workaround or new approach to access this folder's content?

      C:apache-tomcat-10.0.14webappsjasperserverWEB-INFdecoratorsdesignerMinimalImports.jsp (8 hits)
        Line 131: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css",
        Line 131: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css",
        Line 132: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css",
        Line 132: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css",
        Line 240: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css" type="text/css" media="screen,print"/>
        Line 240: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css" type="text/css" media="screen,print"/>
        Line 241: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css" type="text/css" media="screen">
        Line 241: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css" type="text/css" media="screen">

     

  2. Jasper Server 8.0.0 does not seem to load jQuery at all.  This results in my custom tabs and input controls not showing on the input dialogue.

    When in F12 Console, I type in at the prompt:  if (jQuery && typeof jQuery !== "undefined") { console.log(jQuery.fn.jquery); }

    the result is:

    VM868:1 Uncaught ReferenceError: jQuery is not defined
        at eval (eval at <anonymous> (flow.html:1), <anonymous>:1:1)
        at <anonymous>:1:1

    I have tested this on various pages, e.g. when the input dialogue is displayed, the schedule, etc.  jQuery just does not load.

    How do I get around this issue?  I have a very strict timeline in which to get those custom tabs and input controls to work. 

    I am using the Community Edition.

    The custom .jsp files were used were placed in this location apache-tomcat-10.0.14webappsjasperserverWEB-INFjspmodulesinputControls.

  3. It appears that jQuery is not pre-loaded in JSR 7.5 anymore (it was pre-loaded in JSR 7.1).  The solution was to introduce a timer in the custom jsp file that polls for the presence of jQuery.  I hope this answer helps someone.

     

    E.g. 

    function() {
        var a = setInterval( function() {
            if ( typeof window.jQuery === 'undefined' ) {
                console.log("----------jquery not loaded -------------------");
                return;
            }
            clearInterval( a );
            loadJQueryContent();
        }, 250 );

  4. Having upgraded from Jasper Server 7.1 to 7.5 (both are Community Editions), I find that the custom JSP files for Input Controls are not working.  The Input Dialogue was modified in 7.1 with the help of custom JSP's to have a number of tabs/panels with different sets of input controls within each tab.  In 7.5, the headers of the tabs are displayed, but they are all non-clickable, and the body of the left-most tab (the only one that is visible) has no content.  See the attachment for more details.  The method implemented is according to this example:  https://community.jaspersoft.com/questions/972426/custom-input-controls-jasperserver-6x.  

    Can anyone assist, please? 

×
×
  • Create New...