cyrilkiller / groovy-breadcrumbs-plugin Goto Github PK
View Code? Open in Web Editor NEWa groovy breadcrumbs for grails
a groovy breadcrumbs for grails
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!!!
It would be nice if you can update your plugin for grails 2.4.x.
remote-control plugin 1.4 does not work.
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 !?
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
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.