Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8684553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:20:11+00:00 2026-06-12T22:20:11+00:00

Grails 2.1.1 with the resources plugin. I’m using the jstree library and it utilizes

  • 0

Grails 2.1.1 with the resources plugin.

I’m using the jstree library and it utilizes themes. You specify a theme name in the config:

"themes":{
   "theme":"default",
   "dots":false,
   "icons":true
}

And the JavaScript finds it relative to the library’s path. That means the URL is built and is relative, then gets added to the document. For example, it might look like:

/a/js/jsTree/themes/default/styles.css

I have the following in my ApplicationResources.groovy:

tree {
    resource url: '/js/jsTree/1.0/_lib/jquery.cookie.js'
    resource url: '/js/jsTree/1.0/_lib/jquery.hotkeys.js'
    resource url: '/js/jsTree/1.0/jquery.jstree.js'
}

When I deploy this on our server with SSL, on Firefox and Safari, I see the that styles.css being 302’d to the static path that the resources plugin does.

/a/static/js/jsTree/themes/default/styles.css

And then that new path is pulled in, and I can see it is coming over SSL. However, in Chrome I see the 302 and then the new URL is trying to stream over non-SSL and Chrome is blocking it (silently even) so the tree styles do not render at all, which obviously makes it unusable.

Sorry, but I cannot at this time make an example of this problem that anyone can publicly view. I’m hoping someone else might have ran into this situation before.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:20:12+00:00Added an answer on June 12, 2026 at 10:20 pm

    The issue ended up being something with jsTree. I changed the config to include the URL instead of letting jsTree figure it out:

    "themes":{
        "theme":"default",
        "dots":false,
        "icons":true,
        "url": contextPath + "/js/jsTree/1.0/themes/default/style.css"
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Resources plugin in Grails 2.0.1. The issue I'm having is getting
I am using Grails 2.1.0 and lesscss-resources 1.3.0.3 I have created a plugin containing
I'm using the Grails Resources plugin with jQuery validation. jQuery validation has locale-specific texts
I am using Groovy on Grails and the resources plugin is configured. I have
I am using grails Async Mail plugin to send emails with attachments in my
I have a grails 2.0 app which I have installed the resources plugin into,
I have a Grails plugin which I’m using as basically a container for some
I am using grails resource plugin in my project. All my static application are
I am using Grails 2.1.0 and trying to install plugins twitter-bootstrap 2.0.4 and less-resources
I am using Grails Spring Security Plugin 1.2.7.3 and would like to have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.