D3 Gauge Component


I have just created a D3 Gauge component. Any feedback is welcomed.





nice add-on, but it looks like the GWT module descriptor file (*.gwt.xml) is missing?

Thx Marcel,

This is a server side component, does it require a GWT file?

Reading the documentation, I understood that only client side components require a GWT file and a widget recompile to work. Am I wrong in my assumption?

not sure, I haven’t actually had a look into your code… but if I add the add on as a m’avez dependency, it crashes the widgetset compile process and adds an empty widget inherit tag into the apps gwt.xml file…

sorry, it means maven dependency… :slight_smile:

I don’t know much about m’avez dependency :slight_smile: I can’t never catch up with all the new Java dependecy frameworks :slight_smile:

I have just created a new Vaadin maven project and added the the dependecy

<dependency> <groupId>org.vaadin.addons</groupId> <artifactId>d3Gauge</artifactId> <version>1.0</version> </dependency> Recompiled the widgest and all is good.

What Vaadin version are you using? Can you please try with a new project? It might be related to your configuration.

I found the problem you are facing, it has to do with a unneeded entry in the component pom file. I was only able to trigger using Vaadin 7.2. I will do more testing with older vaadin versions and upload the fix

Version 1.0.1 uploaded, it should solve your problem with the extra entry in *WidgetSet.gwt.xml

If you have the following entry from version 1.0 in your *WidgetSet.gwt.xml file, please remove it

Please test version 1.0.1 and tell me if it works now for you