GithubHelp home page GithubHelp logo

groovy-breadcrumbs-plugin's People

Contributors

burtbeckwith avatar cyrilkiller avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

groovy-breadcrumbs-plugin's Issues

using params in urls

How can i tell breadcrumbs to remember my url params? I saw _params is not used in retrievesItemMenu
So instead of getting /ctx/controller/action/23 I got /ctx/controller/action in my link!!!

Compatibility with grails assets plugin

We are using grails assets plugin, and it is called multiple times after your main action controller, so groovy-breadcrumbs was being fooled (menu path seemed overridden)!
Changing BreadCrumbsFilter@30 to below solved our issue
controller:'assets', action:'*', invert: true

Would you please provide a solution for such cases built-in !?

Unexpected exception whilst trying to call the static initializer on breadcrumbs.scope.BreadCrumbsScopeEnum

Compilation error:

.Error 
|
java.lang.reflect.InvocationTargetException
Error |
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
Error |
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
    at java.lang.reflect.Method.invoke(Method.java:606)
Error |
    at org.springsource.loaded.CurrentLiveVersion.runStaticInitializer(CurrentLiveVersion.java:287)
Error |
    at org.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:401)
Error |
    at org.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:845)
Error |
    at org.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:51)
Error |
    at org.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:235)
Error |
    at org.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:219)
Error |
    at java.lang.Thread.run(Thread.java:745)
Error |
Caused by: java.lang.NoSuchFieldError: $callSiteArray
Error |
    at breadcrumbs.scope.BreadCrumbsScopeEnum$$EOxUnrGK.$getCallSiteArray(BreadCrumbsScopeEnum.groovy)
Error |
    at breadcrumbs.scope.BreadCrumbsScopeEnum$$EOxUnrGK.__$swapInit(BreadCrumbsScopeEnum.groovy)
Error |
    at breadcrumbs.scope.BreadCrumbsScopeEnum$$DOxUnrGK.__execute(Unknown Source)
Error |
    at breadcrumbs.scope.BreadCrumbsScopeEnum$$EOxUnrGK.___clinit___(BreadCrumbsScopeEnum.groovy)
Error |
    ... 11 more

Could not install the plugin

I tried to add

compile ":groovy-breadcrumbs-plugin:1.0.2"

After refresh-dependencies I get:

Note: Recompile with -Xlint:unchecked for details.  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
  [groovyc] /Users/mg/Documents/Grails/GGTS3.6.3/test4/target/work/plugins/remote-control-1.4/src/groovy/grails/plugin/remotecontrol/RemoteControlServlet.groovy: 21: unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder
  [groovyc]  @ line 21, column 1.
  [groovyc]    import org.codehaus.groovy.grails.commons.ApplicationHolder
  [groovyc]    ^
  [groovyc] 
  [groovyc] 1 error

.Error 
|
Compilation error: startup failed:
/Users/mg/Documents/Grails/GGTS3.6.3/test4/target/work/plugins/remote-control-1.4/src/groovy/grails/plugin/remotecontrol/RemoteControlServlet.groovy: 21: unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder
 @ line 21, column 1.
   import org.codehaus.groovy.grails.commons.ApplicationHolder
   ^
1 error

Controllers with same name but in different namespace

Just to let you know that this plugin does not work with namespaced controllers. For example, if I have two controllers with the same name TestController, but defined in different namespaces using "static namespace" property. It will only match the first controller. This could be a future improvement to add also namespace support.

For now, a possible solution is to use unique controller names.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.