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

nafiesa.allie

Members
  • Posts

    9
  • Joined

  • Last visited

nafiesa.allie's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Since jQuery has been removed from Jasper Server 8.0.0, how do one go about creating custom input controls on a custom tab on the input dialogue?
  2. 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">
  3. 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.
  4. I have the same requirement as posted in the original question, except I am using Jasper Server 7.5 Applying the GET command as given in the example, does not work. Did the format of the command change in Jasper Server 7.5, and if so, please can you provide it? (I have checked the REST API manual of Jasper Server, but it does not contain the solution).
  5. 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 );
  6. Correction: it seems that in JSR 7.1 jquery.js was preloaded. So it was available for the introduction of the custom Input controls. With JSR 7.5 however, jquery.js is not preloaded, so at the time the Input Control dialogue is displayed, jQuery is not available for use and the error is encountered. Any help, please!!!
  7. So it seems that 7.5.0 does not pick up jquery.js. It is not listed in the browser console and the error that appears is Uncaught ReferenceError: jQuery is not defined at... Can anyone demystify this issue for me?
  8. 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...