Questions tagged [grails-resources-plugin]

HTML resource management enhancements to replace g.resource etc.

This plugin represents a new way of declaring and linking to static resources in your application and plugins.

Resource dependencies can be declared (e.g. requires ) and pages simply indicate which resource modules they require. The plugin does the rest, and provides a processing pipeline for advanced optimisations.

Home Page: http://grails.org/plugin/resources

19 questions
0
votes
1 answer

r:img leads to unlocated resource

After upgrading grails resources to the latest version, I am not able to show images. Here is what I have tried;
  • Chris
    • 8,031
    • 10
    • 41
    • 67
  • 0
    votes
    1 answer

    How do you reference a Resource Bundle that comes from a Grails Plugin

    In my GSP I want to reference a Resource Bundle that is being defined in a plugin so I can be path-agnostic in my grails application. In the Resources.groovy file I have: modules = { widgeta { resource url:…
    Randyaa
    • 2,935
    • 4
    • 36
    • 49
    0
    votes
    1 answer

    Why is my GSP pulling in my AngularJS javascript files but not executing my controller function?

    I have a simple GSP View which contains a reference to 2 bundles being managed by the Grails Resources plugin. the reference to the core angularjs libraries are in my layout. A basic representation of the view is like so:
    Randyaa
    • 2,935
    • 4
    • 36
    • 49
    0
    votes
    1 answer

    How do you reference javascript files from a grails plugin within a different grails app?

    I have a custom plugin which supplies several Grails controllers and several Grails domain objects. In addition there are a few UI components that have been written with AnagularJS that I would like to make use of in several other projects. The…
    Randyaa
    • 2,935
    • 4
    • 36
    • 49
    1
    2