Open rodrigobastosv opened 7 years ago
You're code is correct. Can you show me your module.gwt.xml
on how you import the GMD Modules.
Sure
<?xml version="1.0" encoding="UTF-8"?>
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 borgesrodrigo.oliveira@gmail.com?
Sure. I just shared with you
Thank you very much!
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
`