Navbar problem
I can't make the MaterialNavBar example work (https://gwtmaterialdesign.github.io/gwt-material-demo/#navbar).
I'm getting the "cannot read property 'displayEffect' of undefined" error while trying to use material navbar.
The code i used is copied from here: https://gwtmaterialdesign.github.io/gwt-material-demo/#navbar
<g:HTMLPanel> <m:MaterialHeader> <m:MaterialNavBar> <m:MaterialNavBrand href="#Test" float="LEFT" text="App Title"/> <m:MaterialNavSection float="RIGHT"> <m:MaterialLink iconType="ACCOUNT_CIRCLE" iconPosition="LEFT" text="Account" textColor="WHITE" waves="LIGHT"/> <m:MaterialLink iconType="AUTORENEW" iconPosition="LEFT" text="Refresh" textColor="WHITE" waves="LIGHT"/> <m:MaterialTooltip text="Menu"> <m:MaterialLink iconType="SEARCH" textColor="WHITE" waves="LIGHT"/> </m:MaterialTooltip> <m:MaterialTooltip text="Starter"> <m:MaterialLink iconType="MORE_VERT" textColor="WHITE" waves="LIGHT"/> </m:MaterialTooltip> </m:MaterialNavSection> </m:MaterialNavBar> </m:MaterialHeader> </g:HTMLPanel>
Saw somewhere that: "The navbar is intended to be hidden on FLoat types" but i dont know how to do it
You're code is correct. Can you show me your module.gwt.xml on how you import the GMD Modules.
Sure
<!--GWT Material-->
<inherits name="gwt.material.design.GwtMaterialDesign"/>
<!--
<inherits name="gwt.material.design.themes.ThemeBlue"/>
<inherits name="gwt.material.design.addins.GwtMaterialAddinsDebug"/>
-->
<inherits name="gwt.material.design.GwtMaterialTableDebug"/>
Thanks for the reply
OK so you need to import
<inherits name="gwt.material.design.GwtMaterialWithJQuery"/>
instead of
<inherits name="gwt.material.design.GwtMaterialDesign"/>
because displayEffect needs JQuery
Ok, that's a start.
Now i'm getting
[ERROR] Unable to find 'gwt/material/design/GwtMaterialDesignWithJQuery.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
After hours i've figured that i was puting <inherits name="gwt.material.design.GwtMaterialDesignWithJQuery"/> instead of <inherits name="gwt.material.design.GwtMaterialWithJQuery"/>
But after changing i got the same error. The error is bellow if helps in anything.

Thank you
I'm having the exact same problem mentioned here
BTW i'm using Gwt-material in a GWT project, not a GWTP one. Don't know if that's relevant info.
Any suggestions ? Have the same issues
@chrishilgemann turns out that a lot of js files where not loadiing for some reason. What i did was putting all the necessary js code in a file and importing in my app.html file.
That isn't the cleaner solution but it did the work for me
@rodrigobastosv do you happen to remember which files you had to manually import?
Hi @rodrigoborgesdeoliveira i don't really remember.
What version of GMD are you using? When i updated to GMD 2.1.1 this problem was solved and i took the files away.
Let me know if it works and if not i can't take some time to look for the files here
Hmm, that's exactly the version I'm using. But no problem then. I'll see what I can find.
Hey @rodrigoborgesdeoliveira i found the file.
Send me an email so i can send to you the file
Thank you, @rodrigobastosv. I don't know where to find your e-mail, can you send to [email protected]?
Sure. I just shared with you
Thank you very much!